Skip to content

Commit

Permalink
chor
Browse files Browse the repository at this point in the history
  • Loading branch information
dai-shi committed Dec 20, 2024
1 parent 89911ad commit 8ea76e7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/atomWithProxy.spec.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// <reference types="react/canary" />

import { afterEach, expect, test } from 'vitest';
import { StrictMode, Suspense } from 'react';
import { act, cleanup, render, screen } from '@testing-library/react';
Expand Down Expand Up @@ -122,12 +120,9 @@ test('state with a promise', async () => {
);
};

const Controls = () => <button onClick={() => resolve()}>resolve</button>;

await act(async () => {
render(
<StrictMode>
<Controls />
<Suspense fallback="loading">
<Status />
</Suspense>
Expand Down

0 comments on commit 8ea76e7

Please sign in to comment.