Skip to content

Commit

Permalink
chore: adjust test config
Browse files Browse the repository at this point in the history
  • Loading branch information
rsaz committed Sep 5, 2024
1 parent 5ee8ca3 commit f3b6985
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"node": ">=18.10.0"
},
"scripts": {
"prepare": "husky install",
"prepare": "husky",
"clean": "node scripts/rm.js lib",
"copy": "node scripts/copy.js package.json README.md CHANGELOG.md lib",
"build": "npm run clean && npm run build:cjs && npm run copy",
Expand All @@ -70,7 +70,7 @@
"reflect-metadata": "0.2.2"
},
"devDependencies": {
"@codecov/vite-plugin": "0.0.1-beta.6",
"@codecov/vite-plugin": "^0.0.1-beta.12",
"@commitlint/cli": "19.4.1",
"@commitlint/config-conventional": "19.2.2",
"@release-it/conventional-changelog": "8.0.1",
Expand Down
7 changes: 7 additions & 0 deletions src/__tests__/example.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { describe, expect, it } from "vitest";

describe("application-express", () => {
it("should have tests", () => {
expect(true).toBe(true);
});
});
2 changes: 1 addition & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default defineConfig({
tsconfigPaths(),
codecovVitePlugin({
enableBundleAnalysis: process.env.CODECOV_TOKEN !== undefined,
bundleName: "expresso-ts-adapter-express-coverage",
bundleName: "expresso-ts-shared-coverage",
uploadToken: process.env.CODECOV_TOKEN,
}),
],
Expand Down

0 comments on commit f3b6985

Please sign in to comment.