diff --git a/package.json b/package.json index c9750d8..c61a48e 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "build": "next build", "start": "next start", "lint": "next lint", - "test": "npx playwright test tests/voicerecorder.spec.ts" + "test": "npx playwright test" }, "repository": { "type": "git", diff --git a/tests/voicerecorder.spec.ts b/tests/voicerecorder.spec.ts index 13ebc9c..25dfa5b 100644 --- a/tests/voicerecorder.spec.ts +++ b/tests/voicerecorder.spec.ts @@ -7,8 +7,7 @@ test.use({ "--use-fake-ui-for-media-stream", "--use-fake-device-for-media-stream", "--use-file-for-fake-audio-capture=path/to/your/audio.wav" - ], - headless: false, + ] }, browserName: "chromium", });