Skip to content

Commit

Permalink
chore(cli): Disable telemetry during framework cli unit tests (#7876)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Choudhury <dannychoudhury@gmail.com>
  • Loading branch information
2 people authored and jtoar committed Mar 23, 2023
1 parent 6ed2967 commit 2c4ebd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/cli/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ module.exports = {
'^src/(.*)': '<rootDir>/src/$1',
},
testTimeout: 15000,
setupFilesAfterEnv: ['./jest.setup.js'],
}
2 changes: 2 additions & 0 deletions packages/cli/jest.setup.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Disable telemetry within framework tests
process.env.REDWOOD_DISABLE_TELEMETRY = 1

0 comments on commit 2c4ebd0

Please sign in to comment.