Skip to content

Commit

Permalink
test(e2e): skip describe if copilot is not available.
Browse files Browse the repository at this point in the history
  • Loading branch information
asafkorem committed Sep 21, 2024
1 parent d63db65 commit 293c926
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions detox/test/e2e/utils/custom-describes.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
describeForCopilotEnv = (description, fn) => {
if (process.env.COPILOT_IS_ENABLED === 'true') {
describe(description, fn);
} else {
describe.skip(description, fn);
}
}

Expand Down

0 comments on commit 293c926

Please sign in to comment.