silverwolf-x/project / test /production /app-dir /proxy-build-cli-output /proxy-build-cli-output.test.ts
silverwolf-x's picture
download
raw
403 Bytes
import { nextTestSetup } from 'e2e-utils'
describe('proxy-build-cli-output', () => {
const { next } = nextTestSetup({
files: __dirname,
})
it('should print proxy in the build CLI output', async () => {
expect(next.cliOutput).toContain('ƒ Proxy (Middleware)')
const browser = await next.browser('/foo')
expect(await browser.elementByCss('p').text()).toBe('hello world')
})
})

Xet Storage Details

Size:
403 Bytes
·
Xet hash:
42003c168f06417f55d2f4b82961abd2be7853395952c5a65e941a86fb5ff4d3

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