MCPcopy
hub / github.com/vercel/next.js / runTests

Function runTests

test/integration/styled-jsx-plugin/test/index.test.ts:16–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14let app
15
16function runTests() {
17 it('should serve a page correctly', async () => {
18 const html = await renderViaHTTP(appPort, '/')
19 expect(html).toContain('Hello World')
20 })
21}
22
23// This test is skipped in Turbopack because it uses a custom babelrc.
24;(process.env.IS_TURBOPACK_TEST ? describe.skip : describe)(

Callers 1

index.test.tsFile · 0.70

Calls 3

renderViaHTTPFunction · 0.90
itFunction · 0.50
expectFunction · 0.50

Tested by

no test coverage detected