1. /**
    
  2.  * Copyright (c) Meta Platforms, Inc. and its affiliates.
    
  3.  *
    
  4.  * This source code is licensed under the MIT license found in the
    
  5.  * LICENSE file in the root directory of this source tree.
    
  6.  *
    
  7.  * @emails react-core
    
  8.  */
    
  9. 
    
  10. 'use strict';
    
  11. 
    
  12. describe('ReactDOMInReactServer', () => {
    
  13.   beforeEach(() => {
    
  14.     jest.resetModules();
    
  15.     jest.mock('react', () => require('react/react.shared-subset'));
    
  16.   });
    
  17. 
    
  18.   it('can require react-dom', () => {
    
  19.     // In RSC this will be aliased.
    
  20.     require('react');
    
  21.     require('react-dom');
    
  22.   });
    
  23. });