Skip to content

Commit

Permalink
[Formatting] npm run format
Browse files Browse the repository at this point in the history
  • Loading branch information
dchege711 committed Jun 24, 2024
1 parent ab37b95 commit 6c425bc
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/public/web-test-runner.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { esbuildPlugin } from "@web/dev-server-esbuild";
import { importMapsPlugin } from '@web/dev-server-import-maps';
import { importMapsPlugin } from "@web/dev-server-import-maps";
import { fileURLToPath, URL } from "url";

/**
Expand All @@ -10,7 +10,7 @@ import { fileURLToPath, URL } from "url";
export default {
/** Test files glob patterns. */
files: [
"./src/**/*.test.ts"
"./src/**/*.test.ts",
],

/**
Expand All @@ -25,20 +25,21 @@ export default {
/**
* In a monorepo you need to set the root dir to resolve modules.
*/
rootDir: '../../',
rootDir: "../../",

/** Plugins used by the server to serve or transform files. */
plugins: [
esbuildPlugin({
target: "auto",
ts: true,
tsconfig: fileURLToPath(new URL('./tsconfig.json', import.meta.url)),
tsconfig: fileURLToPath(new URL("./tsconfig.json", import.meta.url)),
}),
importMapsPlugin({
inject: {
importMap: {
imports: {
'/src/public/src/trpc.ts?wds-import-map=0': '/src/public/mocks/trpc.ts',
"/src/public/src/trpc.ts?wds-import-map=0":
"/src/public/mocks/trpc.ts",
},
},
},
Expand Down

0 comments on commit 6c425bc

Please sign in to comment.