You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: exercises/02.test-setup/04.problem.api-mocking/README.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@
10
10
npm i msw @msw/playwright --save-dev
11
11
```
12
12
13
-
🐨 Next, head to the <InlineFilefile="./tests/e2e/test-extend.ts">`tests/e2e/test-extend.ts`</InlineFile>. I've prepared a few instructions for you to help you implement a new fixture called `network`. As the name suggests, you're going to be using it to control the state of network in your end-to-end tests!
13
+
🐨 Next, head to the <InlineFilefile="./tests/test-extend.ts">`tests/test-extend.ts`</InlineFile>. I've prepared a few instructions for you to help you implement a new fixture called `network`. As the name suggests, you're going to be using it to control the state of network in your end-to-end tests!
14
14
15
15
🐨 Once you've got the `network` fixture ready, it's time to put it into action. In the <InlineFilefile="./tests/e2e/notes-create.test.ts">`tests/e2e/notes-create.test.ts`</InlineFile> test file, complete the test case for a new note creation. In this one, you'd have to intercept an HTTP request to the Google Places API that happens on the client to suggest a list of places for the note's "Location" field. As always, 🐨 Kody and his instructions will guide you to success.
0 commit comments