X-Git-Url: http://git.squeep.com/?p=squeep-indieauth-helper;a=blobdiff_plain;f=test%2Flib%2Fcommon.js;fp=test%2Flib%2Fcommon.js;h=3adb2e8e6f4d4f77556d8e1e8aa3cdd796c2ff17;hp=ff250a4c43098e0be305ab523d2d396eb6defc8b;hb=ddf28d2e4816d7c4e188f8dd510b48ad87aee478;hpb=45d151c0587750c9a8ed3e3180ca79139a6ccb5e 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