chore(repo): fix failing eslint test (#14759)
This commit is contained in:
parent
104285b692
commit
ed5ad1e367
@ -1,3 +1,5 @@
|
|||||||
|
import 'nx/src/utils/testing/mock-fs';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
ProjectGraph,
|
ProjectGraph,
|
||||||
ProjectGraphExternalNode,
|
ProjectGraphExternalNode,
|
||||||
@ -16,7 +18,6 @@ import { vol } from 'memfs';
|
|||||||
jest.mock('nx/src/utils/workspace-root', () => ({
|
jest.mock('nx/src/utils/workspace-root', () => ({
|
||||||
workspaceRoot: '/root',
|
workspaceRoot: '/root',
|
||||||
}));
|
}));
|
||||||
jest.mock('fs', () => require('memfs').fs);
|
|
||||||
|
|
||||||
describe('hasBannedImport', () => {
|
describe('hasBannedImport', () => {
|
||||||
const source: ProjectGraphProjectNode = {
|
const source: ProjectGraphProjectNode = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user