Skip to content

Commit

Permalink
Update README.md - createImport -> createMockImport (#4)
Browse files Browse the repository at this point in the history
I assume this is from an earlier description but immediately caused issues when I tried to understand the code/examples.
  • Loading branch information
stevarino authored Aug 13, 2023
1 parent d7a1fff commit db0d19d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export default async function cat() {
You can test it with 📼[`Supertape`](https://github.com/coderaiser/supertape):

```js
import {createImport} from 'mock-import';
import {createMockImport} from 'mock-import';
import {
test,
stub,
Expand Down Expand Up @@ -201,7 +201,7 @@ test('cat: should call readFile', async (t) => {
Now let's trace it:
```js
import {createImport} from 'mock-import';
import {createMockImport} from 'mock-import';
import {
test,
stub,
Expand Down

0 comments on commit db0d19d

Please sign in to comment.