Skip to content

Commit

Permalink
Merge pull request #15 from st-tech/test
Browse files Browse the repository at this point in the history
test: add unit test
  • Loading branch information
ssssota authored Dec 10, 2024
2 parents a1429d7 + 9a6d622 commit a145069
Show file tree
Hide file tree
Showing 6 changed files with 595 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: pnpm check
- run: pnpm test
- run: sudo pnpm test
working-directory: tests
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"files": ["dist"],
"scripts": {
"test": "pnpm -r test",
"test": "vitest src --run",
"build": "tsc",
"clean": "node -e \"fs.rmSync('dist',{recursive:true,force:true})\"",
"prepare": "npm run clean && npm run build",
Expand All @@ -37,6 +37,7 @@
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@types/node": "^22.10.0",
"typescript": "^5.7.2"
"typescript": "^5.7.2",
"vitest": "^2.1.8"
}
}
Loading

0 comments on commit a145069

Please sign in to comment.