silverwolf-x's picture
download
raw
334 Bytes
import { normalizeRscURL } from './app-paths'
describe('normalizeRscPath', () => {
it('should normalize url with .rsc', () => {
expect(normalizeRscURL('/test.rsc')).toBe('/test')
})
it('should normalize url with .rsc and searchparams', () => {
expect(normalizeRscURL('/test.rsc?abc=def')).toBe('/test?abc=def')
})
})

Xet Storage Details

Size:
334 Bytes
·
Xet hash:
a52003f195446efad9f12d515cb19d80e9440e8a95af33b14b55817e0d666ec1

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