diff options
Diffstat (limited to 'frontend-old/node_modules/@protobufjs/inquire/tests')
5 files changed, 0 insertions, 24 deletions
diff --git a/frontend-old/node_modules/@protobufjs/inquire/tests/data/array.js b/frontend-old/node_modules/@protobufjs/inquire/tests/data/array.js deleted file mode 100644 index 96627c3..0000000 --- a/frontend-old/node_modules/@protobufjs/inquire/tests/data/array.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = [1];
diff --git a/frontend-old/node_modules/@protobufjs/inquire/tests/data/emptyArray.js b/frontend-old/node_modules/@protobufjs/inquire/tests/data/emptyArray.js deleted file mode 100644 index 0630c8f..0000000 --- a/frontend-old/node_modules/@protobufjs/inquire/tests/data/emptyArray.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = [];
diff --git a/frontend-old/node_modules/@protobufjs/inquire/tests/data/emptyObject.js b/frontend-old/node_modules/@protobufjs/inquire/tests/data/emptyObject.js deleted file mode 100644 index 0369aa4..0000000 --- a/frontend-old/node_modules/@protobufjs/inquire/tests/data/emptyObject.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = {};
diff --git a/frontend-old/node_modules/@protobufjs/inquire/tests/data/object.js b/frontend-old/node_modules/@protobufjs/inquire/tests/data/object.js deleted file mode 100644 index 3226d44..0000000 --- a/frontend-old/node_modules/@protobufjs/inquire/tests/data/object.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = { a: 1 };
diff --git a/frontend-old/node_modules/@protobufjs/inquire/tests/index.js b/frontend-old/node_modules/@protobufjs/inquire/tests/index.js deleted file mode 100644 index 7d6496f..0000000 --- a/frontend-old/node_modules/@protobufjs/inquire/tests/index.js +++ /dev/null @@ -1,20 +0,0 @@ -var tape = require("tape");
-
-var inquire = require("..");
-
-tape.test("inquire", function(test) {
-
- test.equal(inquire("buffer").Buffer, Buffer, "should be able to require \"buffer\"");
-
- test.equal(inquire("%invalid"), null, "should not be able to require \"%invalid\"");
-
- test.equal(inquire("./tests/data/emptyObject"), null, "should return null when requiring a module exporting an empty object");
-
- test.equal(inquire("./tests/data/emptyArray"), null, "should return null when requiring a module exporting an empty array");
-
- test.same(inquire("./tests/data/object"), { a: 1 }, "should return the object if a non-empty object");
-
- test.same(inquire("./tests/data/array"), [ 1 ], "should return the module if a non-empty array");
-
- test.end();
-});
|
