filter-input-element/web-test-runner.config.js

17 строки
411 B
JavaScript

import {esbuildPlugin} from '@web/dev-server-esbuild'
import {playwrightLauncher} from '@web/test-runner-playwright'
const browser = product => playwrightLauncher({product})
export default {
files: ['test/*'],
nodeResolve: true,
plugins: [esbuildPlugin({ts: true, target: 'es2020'})],
browsers: [browser('chromium')],
testFramework: {
config: {
ui: 'bdd',
timeout: 500,
},
},
}