Skip to content

Commit

Permalink
fixup: bumps
Browse files Browse the repository at this point in the history
  • Loading branch information
mcous committed Nov 21, 2023
1 parent d74e56a commit ebfd895
Show file tree
Hide file tree
Showing 4 changed files with 510 additions and 570 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# vitest-when

> [Better mocking in Vitest][introducing vitest-when]
[![npm badge][]][npm]
[![ci badge][]][ci]
[![coverage badge][]][coverage]

Read the introductory post: [Better mocks in Vitest][better-stubs]

Stub behaviors of [Vitest][] mock functions with a small, readable API. Inspired by [testdouble.js][] and [jest-when][].

```shell
npm install --save-dev vitest-when
```

[introducing vitest-when]: https://michael.cousins.io/articles/2023-06-30-better-stubs/
[better-stubs]: https://michael.cousins.io/articles/2023-06-30-better-stubs/
[vitest]: https://vitest.dev/
[testdouble.js]: https://github.com/testdouble/testdouble.js/
[jest-when]: https://github.com/timkindberg/jest-when
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"_eslint": "eslint --ignore-path .lintignore \"**/*.ts\"",
"_prettier": "prettier --ignore-path .lintignore \"**/*.@(ts|json|yaml|md)\"",
"all": "concurrently -g pnpm:coverage pnpm:build pnpm:check:*",
"build": "tsup --clean --sourcemap --dts --format esm,cjs --target node14 src/vitest-when.ts",
"build": "tsup --clean --sourcemap --dts --format esm --target node14 src/vitest-when.ts",
"build-and-check": "concurrently -g pnpm:build pnpm:check:*",
"check:format": "pnpm run _prettier --check",
"check:lint": "pnpm run _eslint",
Expand All @@ -54,20 +54,20 @@
"@mcous/eslint-config": "0.4.2",
"@mcous/prettier-config": "0.3.0",
"@mcous/typescript-config": "0.2.1",
"@typescript-eslint/eslint-plugin": "6.10.0",
"@typescript-eslint/parser": "6.10.0",
"@vitest/coverage-istanbul": "^1.0.0-beta.4",
"@vitest/expect": "^1.0.0-beta.4",
"@typescript-eslint/eslint-plugin": "6.12.0",
"@typescript-eslint/parser": "6.12.0",
"@vitest/coverage-istanbul": "^1.0.0-beta.5",
"@vitest/expect": "^1.0.0-beta.5",
"concurrently": "^8.2.2",
"eslint": "8.53.0",
"eslint": "8.54.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-sonarjs": "0.23.0",
"eslint-plugin-unicorn": "49.0.0",
"prettier": "3.0.3",
"tsup": "^7.2.0",
"typescript": "5.2.2",
"vitest": "^1.0.0-beta.4"
"prettier": "3.1.0",
"tsup": "^8.0.1",
"typescript": "5.3.2",
"vitest": "^1.0.0-beta.5"
},
"peerDependencies": {
"@vitest/expect": ">=0.31.0 <2.0.0",
Expand Down
Loading

0 comments on commit ebfd895

Please sign in to comment.