We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ca2f45 commit e146f2fCopy full SHA for e146f2f
packages/core/src/lib/implementation/runner.unit.test.ts
@@ -6,6 +6,7 @@ import {
6
MINIMAL_PLUGIN_CONFIG_MOCK,
7
MINIMAL_RUNNER_CONFIG_MOCK,
8
MINIMAL_RUNNER_FUNCTION_MOCK,
9
+ osAgnosticPath,
10
} from '@code-pushup/test-utils';
11
import {
12
type RunnerResult,
@@ -17,9 +18,9 @@ import {
17
18
19
describe('getAuditOutputsPath', () => {
20
it('should read runner results from a file', async () => {
- expect(getAuditOutputsPath('plugin-with-cache', 'output')).toBe(
21
- 'output/plugin-with-cache/audit-outputs.json',
22
- );
+ expect(
+ osAgnosticPath(getAuditOutputsPath('plugin-with-cache', 'output')),
23
+ ).toBe(osAgnosticPath('output/plugin-with-cache/audit-outputs.json'));
24
});
25
26
0 commit comments