Skip to content

Commit 441fccc

Browse files
author
John Doe
committed
refactor: wip
1 parent b5bd0ad commit 441fccc

File tree

1 file changed

+1
-28
lines changed

1 file changed

+1
-28
lines changed

packages/nx-plugin/src/executors/cli/utils.unit.test.ts

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ describe('parseAutorunExecutorOptions', () => {
108108
);
109109

110110
expect(osAgnosticPath(executorOptions.persist?.outputDir ?? '')).toBe(
111-
osAgnosticPath('workspaceRoot/.code-pushup/my-app'),
111+
osAgnosticPath('{projectRoot}/.code-pushup'),
112112
);
113113
});
114114

@@ -169,33 +169,6 @@ describe('parseAutorunExecutorOptions', () => {
169169
);
170170
},
171171
);
172-
173-
it.each<Command>(['print-config'])(
174-
'should include output config for command %s',
175-
command => {
176-
const projectName = 'my-app';
177-
const executorOptions = parseAutorunExecutorOptions(
178-
{
179-
command,
180-
output: 'code-pushup.config.json',
181-
},
182-
{
183-
projectName,
184-
workspaceRoot: 'workspaceRoot',
185-
projectConfig: {
186-
name: 'my-app',
187-
root: 'root',
188-
},
189-
},
190-
);
191-
192-
expect(executorOptions).toEqual(
193-
expect.objectContaining({
194-
output: 'code-pushup.config.json',
195-
}),
196-
);
197-
},
198-
);
199172
});
200173

201174
describe('mergeExecutorOptions', () => {

0 commit comments

Comments
 (0)