Skip to content

Commit

Permalink
chore: apply linting
Browse files Browse the repository at this point in the history
  • Loading branch information
thebuilder committed May 3, 2024
1 parent 5415441 commit 0dbb29c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/test-utils.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import * as React from 'react';
import * as DeprecatedReactTestUtils from 'react-dom/test-utils';
import * as React from "react";
import * as DeprecatedReactTestUtils from "react-dom/test-utils";

declare global {
var IS_REACT_ACT_ENVIRONMENT: boolean;
}

const act = typeof React.act === 'function' ? React.act : DeprecatedReactTestUtils.act;
const act =
typeof React.act === "function" ? React.act : DeprecatedReactTestUtils.act;

type Item = {
callback: IntersectionObserverCallback;
Expand Down

0 comments on commit 0dbb29c

Please sign in to comment.