X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Flib%2Fcommon.js;h=3adb2e8e6f4d4f77556d8e1e8aa3cdd796c2ff17;hb=HEAD;hp=ff250a4c43098e0be305ab523d2d396eb6defc8b;hpb=cc52f66ba8522b6bc7002dfba79c1162a51aef0e;p=squeep-indieauth-helper diff --git a/test/lib/common.js b/test/lib/common.js index ff250a4..3adb2e8 100644 --- a/test/lib/common.js +++ b/test/lib/common.js @@ -5,18 +5,6 @@ const assert = require('assert'); 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(result.endsWith(':bar:baz')); - }); - it('names an index path', function () { - const filename = 'lib/foo/index.js'; - const result = common.fileScope(filename)('baz'); - assert(result.endsWith(':foo:baz')); - }); - }); // fileScope describe('pick', function () { it('picks', function () { @@ -194,4 +182,4 @@ describe('common', function () { }); }); // properURLComponentName -}); // common \ No newline at end of file +}); // common