Skip to content

Commit

Permalink
Fixed failing unit tests?
Browse files Browse the repository at this point in the history
  • Loading branch information
mweststrate committed Jul 10, 2023
1 parent 3079cce commit b9f8b39
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ expect(observerFinalizationRegistry).toBeInstanceOf(globalThis.FinalizationRegis
afterEach(cleanup)

test("uncommitted components should not leak observations", async () => {
jest.setTimeout(30_000)
const store = mobx.observable({ count1: 0, count2: 0 })

// Track whether counts are observed
Expand Down

0 comments on commit b9f8b39

Please sign in to comment.