fix unrelated test

This commit is contained in:
Simon Knott 2024-09-03 11:20:26 +02:00
parent 7b11e02ee3
commit e624642a96
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -172,7 +172,7 @@ test('watch mode is not supported', async ({ runWatchTest }) => {
expect(testProcess.output).toContain('--only-changed is not supported in watch mode'); expect(testProcess.output).toContain('--only-changed is not supported in watch mode');
}); });
test('should throw nice error message if git doesnt work', async ({ runInlineTest }) => { test('should throw nice error message if git doesnt work', async ({ runInlineTest, git }) => {
const result = await runInlineTest({}, { 'only-changed': `this-commit-does-not-exist` }); const result = await runInlineTest({}, { 'only-changed': `this-commit-does-not-exist` });
expect(result.exitCode).toBe(1); expect(result.exitCode).toBe(1);