mirror of
https://github.com/kamranahmedse/driver.js.git
synced 2026-11-02 05:31:39 +08:00
13 lines
351 B
TypeScript
13 lines
351 B
TypeScript
import { fileURLToPath } from "node:url";
|
|
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
// The checklist imports the core by package name; tests run it from source.
|
|
alias: { "driver.js": fileURLToPath(new URL("./src/driver.ts", import.meta.url)) },
|
|
},
|
|
test: {
|
|
environment: "jsdom",
|
|
},
|
|
});
|