chore(repo): fix failing eslint test (#14759)

This commit is contained in:
Jason Jean 2023-02-02 04:01:37 -05:00 committed by GitHub
parent 104285b692
commit ed5ad1e367
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,5 @@
import 'nx/src/utils/testing/mock-fs';
import {
ProjectGraph,
ProjectGraphExternalNode,
@ -16,7 +18,6 @@ import { vol } from 'memfs';
jest.mock('nx/src/utils/workspace-root', () => ({
workspaceRoot: '/root',
}));
jest.mock('fs', () => require('memfs').fs);
describe('hasBannedImport', () => {
const source: ProjectGraphProjectNode = {