Skip to content

Commit

Permalink
Update test-utils.ts
Browse files Browse the repository at this point in the history
add semi colons
  • Loading branch information
thebuilder committed May 3, 2024
1 parent 0e95b5d commit 5415441
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test-utils.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
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 5415441

Please sign in to comment.