Skip to content

Commit 5994f56

Browse files
authored
chore: update Remix README.md to correct api call (#114)
1 parent c52e330 commit 5994f56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/with-remix/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ touch mocks/node.ts
5151

5252
### 2. Enable mocking
5353

54-
In [`entry.server.tsx`](./app/entry.server.tsx), import the `handlers.ts` and enable mocking by calling `enableApiMocking()` from the `node.ts` setup.
54+
In [`entry.server.tsx`](./app/entry.server.tsx), import the `handlers.ts` and enable mocking by calling `server.listen()` from the `node.ts` setup.

0 commit comments

Comments
 (0)