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

Function runTests

test/integration/jsconfig-paths-wildcard/test/index.test.ts:24–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22}
23
24function runTests() {
25 describe('default behavior', () => {
26 beforeAll(async () => {
27 appPort = await findPort()
28 app = await launchApp(appDir, appPort)
29 })
30 afterAll(() => killApp(app))
31
32 it('should resolve a wildcard alias', async () => {
33 const $ = await get$('/wildcard-alias')
34 expect($('body').text()).toMatch(/world/)
35 })
36 })
37}
38
39describe('jsconfig paths wildcard', () => {
40 runTests()

Callers 1

index.test.tsFile · 0.70

Calls 9

findPortFunction · 0.90
launchAppFunction · 0.90
killAppFunction · 0.90
describeFunction · 0.85
get$Function · 0.70
textMethod · 0.65
itFunction · 0.50
expectFunction · 0.50
$Function · 0.50

Tested by

no test coverage detected