Skip to content

Commit

Permalink
fix: skip test if env not set
Browse files Browse the repository at this point in the history
  • Loading branch information
darkskygit committed Oct 29, 2024
1 parent d8597b2 commit 3ba1421
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/backend/server/tests/copilot-provider.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ const runIfCopilotConfigured = test.macro(
) => {
if (isCopilotConfigured) {
await callback(t);
} else {
t.log('Skip test because copilot is not configured');
t.pass();
}
}
);
Expand Down

0 comments on commit 3ba1421

Please sign in to comment.