silverwolf-x's picture
download
raw
728 Bytes
import { nextTestSetup } from 'e2e-utils'
describe('Document and App - With CSP enabled', () => {
const { next } = nextTestSetup({
files: __dirname,
})
it('should load inline script by hash', async () => {
const browser = await next.browser('/?withCSP=hash')
if (global.browserName === 'chrome') {
const errLog = await browser.log()
expect(errLog.filter((e) => e.source === 'security')).toEqual([])
}
})
it('should load inline script by nonce', async () => {
const browser = await next.browser('/?withCSP=nonce')
if (global.browserName === 'chrome') {
const errLog = await browser.log()
expect(errLog.filter((e) => e.source === 'security')).toEqual([])
}
})
})

Xet Storage Details

Size:
728 Bytes
·
Xet hash:
5930196718f129bfe08b5bbcbe30c9ba79ebe315f3964d0ef5b146359dc61932

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