Skip to content

Commit

Permalink
Fix import statement in README.md
Browse files Browse the repository at this point in the history
We included a local import statement by accident which will not help the
end user. The end user will have our package installed, so we import by
package name.
  • Loading branch information
stschulte committed Sep 10, 2023
1 parent 4eb8980 commit 71237cf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ In case you are using typescript, create a `vitest.d.ts` file with the following
```javascript
// tests/vitest.d.ts
import "vitest";
import { CustomMatcher } from "../src";
import { CustomMatcher } from "aws-sdk-client-mock-vitest";

declare module "vitest" {
interface Assertion<T = any> extends CustomMatcher<T> {}
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aws-sdk-client-mock-vitest",
"version": "0.0.3",
"version": "0.0.4",
"description": "Custom matchers for AWS SDK Client mock to be used in vitest",
"type": "module",
"module": "./dist-es/index.js",
Expand Down

0 comments on commit 71237cf

Please sign in to comment.