From 1f8c68781e4af6b9935e9d28989c4aa2e6dae968 Mon Sep 17 00:00:00 2001 From: Daishi Kato Date: Sat, 4 May 2024 08:45:19 +0900 Subject: [PATCH] Update tests/optimization.test.tsx --- tests/optimization.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/optimization.test.tsx b/tests/optimization.test.tsx index 6fc79f5d..47c5e725 100644 --- a/tests/optimization.test.tsx +++ b/tests/optimization.test.tsx @@ -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 })