blob: 44b596911a4bf7d405cc16815d7f67d4286514eb [file] [log] [blame]
import { esbuildPlugin } from "@web/dev-server-esbuild";
import { defaultReporter, summaryReporter } from "@web/test-runner";
/** @type {import('@web/test-runner').TestRunnerConfig} */
const config = {
files: ["app/**/*_test.{ts,js}", "!**/node_modules/**/*"],
port: 9876,
nodeResolve: true,
testFramework: {
config: {
ui: "tdd",
timeout: 5000,
},
},
plugins: [
esbuildPlugin({
ts: true,
target: "es2020",
tsconfig: "app/tsconfig.json",
}),
],
reporters: [defaultReporter(), summaryReporter()],
};
export default config;