Skip to content

Commit

Permalink
chore: disable hest's injectGlobals (#824)
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
  • Loading branch information
jkowalleck committed Apr 24, 2023
1 parent 6c68eed commit c50bf99
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ module.exports = {
testMatch: [
// "**/__tests__/**/*.[jt]s?(x)",
'**/?(*.)+(spec|test).js'
]
],

// An array of regexp pattern strings that are matched against all test paths, matched tests are skipped
// testPathIgnorePatterns: [
Expand Down Expand Up @@ -214,4 +214,8 @@ module.exports = {

// Whether to use watchman for file crawling
// watchman: true,

// disable auto-injecting of globals like `expect`, `describe`, `test`, `it`, ...
// they are to be imported manually
injectGlobals: false
}

0 comments on commit c50bf99

Please sign in to comment.