Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
charkour committed Jun 1, 2024
1 parent 7f25fd2 commit d0eca9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 0 additions & 6 deletions src/types.d.ts

This file was deleted.

4 changes: 2 additions & 2 deletions tests/index.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {
Component as ClassComponent,
ReactNode,
type ReactNode,
StrictMode,
useCallback,
useEffect,
Expand Down Expand Up @@ -89,7 +89,7 @@ it("throws error when not using provider", async () => {
static getDerivedStateFromError() {
return { hasError: true };
}
render() {
override render() {
return this.state.hasError ? <div>errored</div> : this.props.children;
}
}
Expand Down

0 comments on commit d0eca9a

Please sign in to comment.