Skip to content

Commit

Permalink
config
Browse files Browse the repository at this point in the history
  • Loading branch information
bodrovis committed Dec 15, 2024
1 parent b6637ba commit f6121e6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"type": "module",
"scripts": {
"build": "rimraf dist && tsup",
"test": "vitest run --coverage",
"test": "vitest run",
"test:watch": "vitest watch",
"lint": "npx @biomejs/biome check ./",
"lint:fix": "npx @biomejs/biome check --write ./",
Expand Down
9 changes: 5 additions & 4 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,17 @@ const isCI = process.env.CI === "true";

export default defineConfig({
esbuild: {
target: "esnext",
target: "es2022",
},
test: {
globals: true,
silent: isCI,
environment: "node",
sequence: {
shuffle: true,
},
coverage: {
enabled: true,
provider: "istanbul",
reporter: isCI ? ["lcov"] : ["html", "text-summary"],
exclude: ["docs/**", "samples/**", "test/setup.ts", "vitest.config.ts"],
include: ["src/**/*.ts"],
},
typecheck: {
Expand Down

0 comments on commit f6121e6

Please sign in to comment.