From e624642a96f43fddef8a3de34f6dd3cce98f0579 Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Tue, 3 Sep 2024 11:20:26 +0200 Subject: [PATCH] fix unrelated test --- tests/playwright-test/only-changed.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/playwright-test/only-changed.spec.ts b/tests/playwright-test/only-changed.spec.ts index 02f2a994c5..674234a240 100644 --- a/tests/playwright-test/only-changed.spec.ts +++ b/tests/playwright-test/only-changed.spec.ts @@ -172,7 +172,7 @@ test('watch mode is not supported', async ({ runWatchTest }) => { 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` }); expect(result.exitCode).toBe(1);