Skip to content

Commit 1acb4c9

Browse files
committed
fix: module-mocking import from dist, increase playwright firefox timeout
- Import moduleMockingPlugin from dist/ in tests (Node 24 type stripping with source imports causes plugin serve hook issues) - Increase playwright firefox and all-browsers timeout from 20s to 60s (firefox consistently needs more time in CI) Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 639864c commit 1acb4c9

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/test-runner-module-mocking/test/moduleMockingPlugin.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { runTests } from '@web/test-runner-core/test-helpers';
66
import { chromeLauncher } from '@web/test-runner-chrome';
77
import { nodeResolvePlugin } from '@web/dev-server';
88

9-
import { moduleMockingPlugin } from '../src/moduleMockingPlugin.ts';
9+
import { moduleMockingPlugin } from '../dist/moduleMockingPlugin.js';
1010

1111
const dirname = fileURLToPath(new URL('.', import.meta.url));
1212

packages/test-runner-playwright/test/playwrightLauncher.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ describe('test-runner-playwright webkit', { timeout: 20000 }, () => {
3737

3838
// we don't run all tests in the windows CI
3939
if (os.platform() !== 'win32') {
40-
describe('test-runner-playwright firefox', { timeout: 20000 }, () => {
40+
describe('test-runner-playwright firefox', { timeout: 60000 }, () => {
4141
function createConfig() {
4242
return { browsers: [playwrightLauncher({ product: 'firefox' })] };
4343
}
@@ -54,7 +54,7 @@ if (os.platform() !== 'win32') {
5454
});
5555
});
5656

57-
describe('test-runner-playwright all', { timeout: 20000 }, () => {
57+
describe('test-runner-playwright all', { timeout: 60000 }, () => {
5858
function createConfig() {
5959
return {
6060
browsers: [

0 commit comments

Comments
 (0)