Skip to content

Commit 8be95dc

Browse files
committed
02/05: fix typo in readme
1 parent 942d0fd commit 8be95dc

File tree

1 file changed

+1
-1
lines changed
  • exercises/02.test-setup/05.problem.test-data

1 file changed

+1
-1
lines changed

exercises/02.test-setup/05.problem.test-data/README.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88

99
<callout-info>The `createNotes` utility will return a [_disposable object_](https://www.epicweb.dev/better-test-setup-with-disposable-objects). By doing so, you will be able to remove the notes you've created so they don't persist on the authenticated user across test runs. Remember that different resources might have different persistence time. For example, the user session persists across tests, but the notes you create _must not_. If they do, the next time you run this test case, the user will have twice the number of notes, causing the test to fail. Cleaning up after yourself is essential to maintaining reproducible tests.</callout-info>
1010

11-
🐨 Next, head to the test case in <InlineFile file="./tests/e2e/notes-list.test.ts">`tests/e2e/utils.ts`</InlineFile> and complete it, using the newly-created `createNotes` utility.
11+
🐨 Next, head to the test case in <InlineFile file="./tests/e2e/notes-list.test.ts">`tests/e2e/notes-list.test.ts`</InlineFile> and complete it, using the newly-created `createNotes` utility.
1212

1313
🐨 Finally, run the `npm test` command to make sure that the test is passing. Trigger the test run multiple times to verify that your test setup cleans up after itself and the test results are idempotent.

0 commit comments

Comments
 (0)