Skip to content

Commit

Permalink
4.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kingjan1999 committed Apr 14, 2022
1 parent e43dc4f commit 8fa7774
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [4.6.1] - 2022-04-13

### Changed

- Revert "Experimental support for native ESM" (#83)

## [4.6.0] - 2022-04-13

### Changed
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import mockAxios from 'jest-mock-axios';
export default mockAxios;
```

⚠️ In v4.6.0 this module is inadvertently a pure ES module ([#83](https://github.com/knee-cola/jest-mock-axios/issues/83)). Please use v4.5.0 if you encounter any problems for now.
⚠️ In v4.6.0 this module is inadvertently a pure ES module ([#83](https://github.com/knee-cola/jest-mock-axios/issues/83)). Please use v4.5.0 or v4.6.1 if you encounter any problems for now.

## Why do we need to manually create the mock?
It's because Jest expects mocks to be placed in the project root, while
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jest-mock-axios",
"version": "4.6.0",
"version": "4.6.1",
"description": "Axios mock for Jest",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
Expand Down

0 comments on commit 8fa7774

Please sign in to comment.