Skip to content

Commit

Permalink
test: add test cases for resolveAlias function
Browse files Browse the repository at this point in the history
  • Loading branch information
chouchouji committed Nov 14, 2024
1 parent 2b17fa3 commit 21d266b
Show file tree
Hide file tree
Showing 4 changed files with 644 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ jobs:

- name: Run linter
run: pnpm lint

- name: Run test cases
run: pnpm test
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,9 @@
"lint": "eslint src --fix",
"format": "prettier . --write",
"dev": "tsup --watch",
"build": "tsup"
"build": "tsup",
"test": "vitest run",
"test:watch": "vitest"
},
"devDependencies": {
"@types/node": "20.x",
Expand All @@ -247,7 +249,8 @@
"rimraf": "^6.0.1",
"simple-git-hooks": "^2.11.1",
"tsup": "8.3.0",
"typescript": "^5.6.3"
"typescript": "^5.6.3",
"vitest": "2.1.5"
},
"dependencies": {
"rattail": "^1.0.0"
Expand Down
Loading

0 comments on commit 21d266b

Please sign in to comment.