File size: 377 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 |
import { BasePathPathnameNormalizer } from './base-path'
describe('BasePathPathnameNormalizer', () => {
it('should throw when provided with a blank basePath', () => {
expect(() => new BasePathPathnameNormalizer('')).toThrow()
})
it('should throw when provided with a basePath of "/"', () => {
expect(() => new BasePathPathnameNormalizer('/')).toThrow()
})
})
|