X-Git-Url: http://git.squeep.com/?p=squeep-api-dingus;a=blobdiff_plain;f=test%2Flib%2Fcommon.js;fp=test%2Flib%2Fcommon.js;h=6140d874bd9ef41a9591c28194ae772f21c1e3d9;hp=15e9c4adb07652b1e0376327f5aa4a5e55426bf2;hb=1b2868b99eba20b50d88a0d858bcd8c51c5b8f07;hpb=031c170bdaf1d9c331e6f6fc701ce6540c0e6941 diff --git a/test/lib/common.js b/test/lib/common.js index 15e9c4a..6140d87 100644 --- a/test/lib/common.js +++ b/test/lib/common.js @@ -9,19 +9,6 @@ const common = require('../../lib/common'); describe('common', function () { - describe('fileScope', function () { - it('names a file path', function () { - const filename = 'lib/foo/bar.js'; - const result = common.fileScope(filename)('baz'); - assert.strictEqual(result, 'bar:baz'); - }); - it('names an index path', function () { - const filename = 'lib/foo/index.js'; - const result = common.fileScope(filename)('baz'); - assert.strictEqual(result, 'foo:baz'); - }); - }); // fileScope - describe('generateETag', function () { it('generates a tag from data', function () { const expected = '"RHUvNyculE/SyROjU0LqzN0arxibrlBnazAashP8UGE"';