Skip to content

Commit

Permalink
fix: updated jest to resolve word-wrap ReDoS vulnerability
Browse files Browse the repository at this point in the history
  • Loading branch information
BilalQamar95 committed Jul 11, 2023
1 parent c459497 commit ca4cdff
Show file tree
Hide file tree
Showing 3 changed files with 769 additions and 3,054 deletions.
5 changes: 4 additions & 1 deletion config/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ if (fs.existsSync(appEnvConfigPath)) {
}

module.exports = {
testURL: 'http://localhost/',
testEnvironment: 'jsdom',
testEnvironmentOptions: {
url: 'http://localhost/',
},
setupFiles: [
path.resolve(__dirname, 'jest/setupTest.js'),
],
Expand Down
Loading

0 comments on commit ca4cdff

Please sign in to comment.