test: fix broken relative outputDir test

#9380
This commit is contained in:
Max Schmitt 2021-10-09 00:12:17 +02:00
parent c7b045a037
commit b69b8889fe
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ test('should have output dir based on rootDir (cwd)', async ({ runInlineTest },
`,
}, {}, {}, { usesCustomOutputDir: true });
expect(result.exitCode).toBe(0);
expect(fs.existsSync(testInfo.outputPath('test-results', 'example-hello-world', 'hello')));
expect(fs.existsSync(testInfo.outputPath('test-results', 'example-hello-world', 'foo.txt'))).toBe(true);
});