Skip to content

Commit 9c47b9c

Browse files
authored
Merge branch 'main' into fix-diff-getter-only
2 parents bd52965 + ffec1dc commit 9c47b9c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/playwright/test/basic.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { chromium } from 'playwright'
55
import type { Browser, Page } from 'playwright'
66
import { expect } from '@playwright/test'
77

8-
const PORT = 3001
8+
const PORT = 3989
99

1010
// unstable in Windows, TODO: investigate
1111
describe.runIf(process.platform !== 'win32')('basic', async () => {
@@ -14,7 +14,7 @@ describe.runIf(process.platform !== 'win32')('basic', async () => {
1414
let page: Page
1515

1616
beforeAll(async () => {
17-
server = await preview({ preview: { port: PORT } })
17+
server = await preview({ preview: { port: PORT, strictPort: true } })
1818
browser = await chromium.launch({ headless: true })
1919
page = await browser.newPage()
2020
})

test/reporters/tests/console.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ test('should print logs correctly', async () => {
99
expect(stdout).toBeTruthy()
1010
expect(stderr).toBeTruthy()
1111

12-
expect(stdout.replace('\n ✓ console.test.ts > suite > snested suite > test', '')).toContain(
12+
expect(stdout.replace('\n ✓ console.test.ts > suite > nested suite > test', '')).toContain(
1313
`
1414
stdout | console.test.ts > suite > nested suite
1515
beforeAll

0 commit comments

Comments
 (0)