Skip to content

Commit

Permalink
test: clean up annoying browser logs
Browse files Browse the repository at this point in the history
  • Loading branch information
luwes committed Dec 13, 2024
1 parent f844ede commit 593531b
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ export default {
report: true,
include: ['src/**/*'],
},
browsers: [chromeLauncher({ launchOptions: { args: ['--headless=old'] } })],
browsers: [chromeLauncher()],
filterBrowserLogs: ({ args }) => !args[0].startsWith('Lit is in dev mode'),
};
3 changes: 2 additions & 1 deletion packages/mux-audio/test/web-test-runner.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ export default {
report: true,
include: ['src/**/*'],
},
browsers: [chromeLauncher({ launchOptions: { args: ['--headless=old'] } })],
browsers: [chromeLauncher()],
filterBrowserLogs: ({ args }) => !args[0].startsWith('Lit is in dev mode'),
};
3 changes: 2 additions & 1 deletion packages/mux-player/test/web-test-runner.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ const config = {
include: ['src/**/*'],
},
testsFinishTimeout: 600000,
browsers: [chromeLauncher({})],
browsers: [chromeLauncher()],
filterBrowserLogs: ({ args }) => !args[0].startsWith('Lit is in dev mode'),
};

if (process.argv.some((arg) => arg.includes('--all'))) {
Expand Down
3 changes: 2 additions & 1 deletion packages/mux-uploader/test/web-test-runner.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@ export default {
report: true,
include: ['src/**/*'],
},
browsers: [chromeLauncher({ launchOptions: { args: ['--headless=old'] } })],
browsers: [chromeLauncher()],
filterBrowserLogs: ({ args }) => !args[0].startsWith('Lit is in dev mode'),
};
3 changes: 2 additions & 1 deletion packages/mux-video/test/web-test-runner.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ export default {
report: true,
include: ['src/**/*'],
},
browsers: [chromeLauncher({ launchOptions: { args: ['--headless=old'] } })],
browsers: [chromeLauncher()],
filterBrowserLogs: ({ args }) => !args[0].startsWith('Lit is in dev mode'),
};
1 change: 1 addition & 0 deletions packages/playback-core/test/web-test-runner.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ export default {
include: ['src/**/*'],
},
browsers: [chromeLauncher({ launchOptions: { args: ['--headless=old'] } })],
filterBrowserLogs: ({ args }) => !args[0].startsWith('Lit is in dev mode'),
};

0 comments on commit 593531b

Please sign in to comment.