Skip to content

Commit

Permalink
chore: add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
litcodeur committed Jan 20, 2024
1 parent 457d17c commit f4d9395
Show file tree
Hide file tree
Showing 5 changed files with 2,439 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
cache: "pnpm"

- run: pnpm install --frozen-lockfile
- run: pnpm run lint && pnpm run build
- run: pnpm run lint && pnpm run test && pnpm run build
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,21 @@
"lint": "tsc",
"build": "tsup",
"dev": "tsup --watch",
"release": "pnpm run lint && pnpm run build && changeset publish"
"release": "pnpm run lint && pnpm run test && pnpm run build && changeset publish",
"test:watch": "vitest",
"test": "vitest run"
},
"keywords": [],
"author": "litcodeur",
"license": "MIT",
"devDependencies": {
"@changesets/cli": "2.27.1",
"@faker-js/faker": "8.3.1",
"@vitest/coverage-v8": "1.2.0",
"fake-indexeddb": "5.0.2",
"tsup": "8.0.1",
"typescript": "5.3.3"
"typescript": "5.3.3",
"vitest": "1.2.0"
},
"dependencies": {
"idb": "8.0.0"
Expand Down
Loading

0 comments on commit f4d9395

Please sign in to comment.