diff options
Diffstat (limited to 'lib/path.test.ts')
-rw-r--r-- | lib/path.test.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/path.test.ts b/lib/path.test.ts new file mode 100644 index 0000000..af987ac --- /dev/null +++ b/lib/path.test.ts @@ -0,0 +1,11 @@ +import { getPathSuperSets } from './path' + +describe('path library', () => { + test('getPathSuperSets', () => { + expect(getPathSuperSets('/my/long/path')).toEqual([ + '/my', + '/my/long', + '/my/long/path' + ]) + }) +}) |