silverwolf-x/project / test /unit /router-add-base-path.test.ts
silverwolf-x's picture
download
raw
269 Bytes
/* eslint-env jest */
import { addBasePath } from 'next/dist/client/add-base-path'
describe('router addBasePath', () => {
it('should add basePath correctly when no basePath', () => {
const result = addBasePath('/hello')
expect(result).toBe('/hello')
})
})

Xet Storage Details

Size:
269 Bytes
·
Xet hash:
d28f29eea9c47c985881329e3b55acbc022cc629fde3cf4d0dd43ca923b09c71

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.