Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyJasonBennett committed Mar 12, 2024
1 parent 058a3a0 commit 89dca9d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/index.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react'
import { describe, expect, it } from 'vitest'
import { type NilNode, type HostContainer, render, createPortal } from './react-nil'
import { type NilNode, type HostContainer, act, render, createPortal } from './react-nil'
import { create } from 'react-test-renderer'
import {
type Fiber,
Expand All @@ -13,8 +13,6 @@ import {
FiberProvider,
} from '../src'

const act = (React as any).act as <T = any>(cb: () => Promise<T>) => Promise<T>

interface ReactProps {
key?: React.Key
ref?: React.Ref<null>
Expand Down

0 comments on commit 89dca9d

Please sign in to comment.