summaryrefslogtreecommitdiff
path: root/skills/brainstorming/scripts/node_modules/object-inspect/test/lowbyte.js
diff options
context:
space:
mode:
authorJesse Vincent <jesse@fsck.com>2026-03-09 21:36:37 -0700
committerJesse Vincent <jesse@fsck.com>2026-03-09 21:36:37 -0700
commit7446c842d8754a9ce54dd82a9258443d08c490c3 (patch)
treee68400d83088f125ec6a7ed1a030bc749c90061f /skills/brainstorming/scripts/node_modules/object-inspect/test/lowbyte.js
parent5e2a89e985eb3c3f5ea2bccc2fa6f19ac5d26797 (diff)
Bundle brainstorm server dependencies instead of requiring npm install
Vendor node_modules into the repo so the brainstorm server works immediately on fresh plugin installs without needing npm at runtime.
Diffstat (limited to 'skills/brainstorming/scripts/node_modules/object-inspect/test/lowbyte.js')
-rw-r--r--skills/brainstorming/scripts/node_modules/object-inspect/test/lowbyte.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/skills/brainstorming/scripts/node_modules/object-inspect/test/lowbyte.js b/skills/brainstorming/scripts/node_modules/object-inspect/test/lowbyte.js
new file mode 100644
index 0000000..68a345d
--- /dev/null
+++ b/skills/brainstorming/scripts/node_modules/object-inspect/test/lowbyte.js
@@ -0,0 +1,12 @@
+var test = require('tape');
+var inspect = require('../');
+
+var obj = { x: 'a\r\nb', y: '\x05! \x1f \x12' };
+
+test('interpolate low bytes', function (t) {
+ t.plan(1);
+ t.equal(
+ inspect(obj),
+ "{ x: 'a\\r\\nb', y: '\\x05! \\x1F \\x12' }"
+ );
+});