Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove a few chars from readme #148

Merged
merged 2 commits into from
Sep 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* [use shared moduleId not found error message](https://github.com/iambumblehead/esmock/pull/146)
* [remove lines not covered by tests](https://github.com/iambumblehead/esmock/pull/145)
* [small fixes:](https://github.com/iambumblehead/esmock/pull/144) fix README json syntax error and test descriptions, rename modulePath to moduleId
* [remove a few chars](https://github.com/iambumblehead/esmock/pull/148) from README
* 2.0.0 _Sep.06.2022_
* [export a 'strict'](https://github.com/iambumblehead/esmock/pull/140) variant of esmock
* [use 'partial' mock behaviour with default export](https://github.com/iambumblehead/esmock/pull/141)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"test-ava": "NODE_OPTIONS=--loader=esmock ava",
"test-uvu": "NODE_OPTIONS=--loader=esmock uvu spec",
"test-tsm": "node --loader=tsm --loader=esmock --test *ts",
"test-ts-node": "node --loader=ts-node/esm --loader=esmock --test *ts",
"test-ts": "node --loader=ts-node/esm --loader=esmock --test *ts",
"test-jest": "NODE_OPTIONS=--loader=esmock jest"
},
"jest": {
Expand Down Expand Up @@ -85,7 +85,7 @@ test('should mock "await import()" using esmock.p', async () => {
})

test('should support "strict" mocking, at esmock.strict', async () => {
// strict mock definitions are not merged w/ original module definitions
// replace original module definitions and do not merge them
const pathWrapper = await esmock.strict('../src/pathWrapper.js', {
path: { dirname: () => '/path/to/file' }
})
Expand Down