Skip to content

Commit 4de5e78

Browse files
Update import statements for path and fs modules in test file
1 parent b0173f1 commit 4de5e78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

node_package/tests/RSCClientRoot.test.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ window.__webpack_chunk_load__ = jest.fn();
88
import { enableFetchMocks } from 'jest-fetch-mock';
99
import { screen, act } from '@testing-library/react';
1010
import '@testing-library/jest-dom';
11-
import path from 'path';
12-
import fs from 'fs';
11+
import * as path from 'path';
12+
import * as fs from 'fs';
1313
import { createNodeReadableStream, getNodeVersion } from './testUtils';
1414

1515
import RSCClientRoot from '../src/RSCClientRoot';

0 commit comments

Comments
 (0)