From 5415441b40182c4a07c4d803595548bb9718fb95 Mon Sep 17 00:00:00 2001 From: Daniel Schmidt <3764345+thebuilder@users.noreply.github.com> Date: Fri, 3 May 2024 23:00:30 +0200 Subject: [PATCH] Update test-utils.ts add semi colons --- src/test-utils.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test-utils.ts b/src/test-utils.ts index 389f8136..d84d5be1 100644 --- a/src/test-utils.ts +++ b/src/test-utils.ts @@ -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;