Skip to content

Commit

Permalink
configured web test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
DE7924 committed Dec 23, 2024
1 parent 167aa06 commit db5d74a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web-test-runner.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { vitePlugin } from "@remcovaes/web-test-runner-vite-plugin";
import { playwrightLauncher } from "@web/test-runner-playwright";
import { esbuildPlugin } from "@web/dev-server-esbuild";

const LOG_FILTER = ["Lit is in dev mode", "[vite] connecting..."];

Expand All @@ -18,7 +19,7 @@ export default {
},
files: ["src/test/**/*.js", "src/test/**/*.ts", "src/index.js"],
nodeResolve: true,
plugins: [vitePlugin()],
plugins: [vitePlugin(), esbuildPlugin({ ts: true, target: "auto" })],
browsers: [getBrowser("chromium")],
filterBrowserLogs: ({ args }) => {
return !args.some((log) => {
Expand Down

0 comments on commit db5d74a

Please sign in to comment.