silverwolf-x/project / packages /next /src /server /node-polyfill-crypto.test.ts
silverwolf-x's picture
download
raw
274 Bytes
/* eslint-env jest */
import './node-polyfill-crypto'
describe('node-polyfill-crypto', () => {
test('overwrite crypto', async () => {
expect(global.crypto).not.toBeUndefined()
const a = {} as Crypto
global.crypto = a
expect(global.crypto).toBe(a)
})
})

Xet Storage Details

Size:
274 Bytes
·
Xet hash:
9c8ffece366ab85ab21d7a9ce21f0fd02bb6ac832d8cd7dab818c7c2e138791c

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