Skip to content

Commit

Permalink
Avoid recording on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist committed May 9, 2024
1 parent b8810ac commit 30ad554
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/react-resizable-panels-website/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ const config: PlaywrightTestConfig = {
},
],
reporter: [
createReplayReporterConfig({
apiKey: process.env.REPLAY_API_KEY,
upload: true,
}),
process.env.REPLAY_API_KEY
? createReplayReporterConfig({
apiKey: process.env.REPLAY_API_KEY,
upload: true,
})
: ["line"],
],
use: {
browserName: "chromium",
Expand Down

0 comments on commit 30ad554

Please sign in to comment.