-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: support typing overloaded functions (#1)
- Loading branch information
Showing
10 changed files
with
477 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ coverage | |
dist | ||
node_modules | ||
pnpm-lock.yaml | ||
tsconfig.vitest-temp.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "vitest-when", | ||
"version": "0.1.1", | ||
"description": "Stub behaviors of vitest mocks based on how they are called", | ||
"description": "Stub behaviors of Vitest mock functions with a small, readable API.", | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
|
@@ -19,7 +19,7 @@ | |
"access": "public", | ||
"provenance": true | ||
}, | ||
"packageManager": "[email protected].0", | ||
"packageManager": "[email protected].1", | ||
"author": "Michael Cousins <[email protected]> (https://mike.cousins.io)", | ||
"license": "MIT", | ||
"repository": { | ||
|
@@ -43,6 +43,7 @@ | |
"coverage": "vitest run --coverage", | ||
"check:format": "pnpm run _prettier --check", | ||
"check:lint": "pnpm run _eslint", | ||
"check:types": "vitest typecheck --run", | ||
"format": "pnpm run _prettier --write && pnpm run _eslint --fix", | ||
"_eslint": "eslint --ignore-path .lintignore \"**/*.ts\"", | ||
"_prettier": "prettier --ignore-path .lintignore \"**/*.@(ts|json|yaml)\"" | ||
|
Oops, something went wrong.