Skip to content

Commit

Permalink
remove unused imports in shimserver test
Browse files Browse the repository at this point in the history
  • Loading branch information
salazarm committed Sep 21, 2021
1 parent 20c2799 commit 0f2155a
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ let useSyncExternalStore;
let React;
let ReactDOM;
let ReactDOMServer;
let ReactNoop;
let Scheduler;
let useSyncExternalStoreNative;

// This tests the userspace shim of `useSyncExternalStore` in a server-rendering
// (Node) environment
Expand Down Expand Up @@ -47,13 +45,10 @@ describe('useSyncExternalStore (userspace shim, server rendering)', () => {
React = require('react');
ReactDOM = require('react-dom');
ReactDOMServer = require('react-dom/server');
ReactNoop = require('react-noop-renderer');
Scheduler = require('scheduler');

useSyncExternalStore = require('use-sync-external-store')
.useSyncExternalStore;
useSyncExternalStoreNative = require('use-sync-external-store/index.native')
.useSyncExternalStore;
});

function Text({text}) {
Expand Down

0 comments on commit 0f2155a

Please sign in to comment.