diff --git a/packages/nx/src/project-graph/affected/locators/project-glob-changes.spec.ts b/packages/nx/src/project-graph/affected/locators/project-glob-changes.spec.ts index 7a65e4befdeb4..0185d869b59a1 100644 --- a/packages/nx/src/project-graph/affected/locators/project-glob-changes.spec.ts +++ b/packages/nx/src/project-graph/affected/locators/project-glob-changes.spec.ts @@ -1,9 +1,8 @@ -import * as nxPlugin from '../../../project-graph/plugins'; import { ProjectGraphProjectNode } from '../../../config/project-graph'; import { DeletedFileChange } from '../../file-utils'; import { getTouchedProjectsFromProjectGlobChanges } from './project-glob-changes'; -jest.mock('../../../project-graph/plugins', () => ({ - ...jest.requireActual('../../../project-graph/plugins'), +jest.mock('../../../project-graph/plugins/get-plugins', () => ({ + ...jest.requireActual('../../../project-graph/plugins/get-plugins'), getPlugins: async () => { return [ {