<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>
0 commit comments