mirror of
https://github.com/jlengrand/simple-food-diary.git
synced 2026-03-10 00:31:21 +00:00
30 lines
870 B
JavaScript
30 lines
870 B
JavaScript
// import { playwrightLauncher } from '@web/test-runner-playwright';
|
|
|
|
export default /** @type {import("@web/test-runner").TestRunnerConfig} */ ({
|
|
files: 'out-tsc/test/**/*.test.js',
|
|
nodeResolve: true,
|
|
|
|
/** Compile JS for older browsers. Requires @web/dev-server-esbuild plugin */
|
|
// esbuildTarget: 'auto',
|
|
|
|
/** Confgure bare import resolve plugin */
|
|
// nodeResolve: {
|
|
// exportConditions: ['browser', 'development']
|
|
// },
|
|
|
|
/** Amount of browsers to run concurrently */
|
|
// concurrentBrowsers: 2,
|
|
|
|
/** Amount of test files per browser to test concurrently */
|
|
// concurrency: 1,
|
|
|
|
/** Browsers to run tests on */
|
|
// browsers: [
|
|
// playwrightLauncher({ product: 'chromium' }),
|
|
// playwrightLauncher({ product: 'firefox' }),
|
|
// playwrightLauncher({ product: 'webkit' }),
|
|
// ],
|
|
|
|
// See documentation for all available options
|
|
});
|