Skip to content

Commit

Permalink
Update tests/optimization.test.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
dai-shi authored May 3, 2024
1 parent 242839b commit 1f8c687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/optimization.test.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useState } from 'react'
import { fireEvent, render, waitFor } from '@testing-library/react'
import { expect, it, vi } from 'vitest'
import { proxy, snapshot, useSnapshot } from 'valtio'
import { proxy, useSnapshot } from 'valtio'

it('regression: useSnapshot renders should not fail consistency check with extra render (nested useSnapshot)', async () => {
const obj = proxy({ childCount: 0, parentCount: 0 })
Expand Down

0 comments on commit 1f8c687

Please sign in to comment.