diff --git a/packages/use-sync-external-store/src/__tests__/useSyncExternalStoreShimServer-test.js b/packages/use-sync-external-store/src/__tests__/useSyncExternalStoreShimServer-test.js index cd84cd193e53a..9fa5b9ce21ebf 100644 --- a/packages/use-sync-external-store/src/__tests__/useSyncExternalStoreShimServer-test.js +++ b/packages/use-sync-external-store/src/__tests__/useSyncExternalStoreShimServer-test.js @@ -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 @@ -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}) {