Skip to content

Commit

Permalink
chore(core): test
Browse files Browse the repository at this point in the history
  • Loading branch information
FrozenPandaz committed Jan 26, 2025
1 parent 50e6965 commit c29c361
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/devkit/src/utils/convert-nx-executor.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe('Convert Nx Executor', () => {

const registry = new schema.CoreSchemaRegistry();
registry.addPostTransform(schema.transforms.addUndefinedDefaults);
const testArchitectHost = new TestingArchitectHost();
const testArchitectHost = new TestingArchitectHost(fs.tempDir, fs.tempDir);
testArchitectHost.workspaceRoot = fs.tempDir;
const architect = new Architect(testArchitectHost, registry);

Expand Down
10 changes: 5 additions & 5 deletions packages/nx/src/project-graph/plugins/isolation/messaging.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import { ProjectGraph } from '../../../config/project-graph';
import { PluginConfiguration } from '../../../config/nx-json';
import {
import type { ProjectGraph } from '../../../config/project-graph';
import type { PluginConfiguration } from '../../../config/nx-json';
import type {
CreateDependenciesContext,
CreateMetadataContext,
CreateNodesContextV2,
PreTasksExecutionContext,
PostTasksExecutionContext,
} from '../public-api';
import type { LoadedNxPlugin } from '../loaded-nx-plugin';
import { Serializable } from 'child_process';
import { Socket } from 'net';
import type { Serializable } from 'child_process';
import type { Socket } from 'net';

export interface PluginWorkerLoadMessage {
type: 'load';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export async function retrieveProjectConfigurationsWithAngularProjects(
pluginsToLoad.push(join(__dirname, '../../adapter/angular-json'));
}

const plugins = await getPlugins();
const plugins = await getPlugins(workspaceRoot);

const res = await retrieveProjectConfigurations(
plugins,
Expand Down

0 comments on commit c29c361

Please sign in to comment.