diff --git a/packages/plugin/src/generators/migration/migration.spec.ts b/packages/plugin/src/generators/migration/migration.spec.ts index ef302065e4ea56..c6194f58df2a0b 100644 --- a/packages/plugin/src/generators/migration/migration.spec.ts +++ b/packages/plugin/src/generators/migration/migration.spec.ts @@ -28,7 +28,7 @@ describe('NxPlugin migration generator', () => { it('should update the workspace.json file', async () => { await migrationGenerator(tree, { - path: 'packages/my-plugin', + path: `packages/my-plugin/${projectName}`, packageVersion: '1.0.0', });