move fileScope to separate module, update dependencies and devDependencies
[squeep-api-dingus] / test / lib / common.js
index 15e9c4adb07652b1e0376327f5aa4a5e55426bf2..6140d874bd9ef41a9591c28194ae772f21c1e3d9 100644 (file)
@@ -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"';