Skip to content

Commit

Permalink
fix: updated jest to resolve word-wrap ReDoS vulnerability (#411)
Browse files Browse the repository at this point in the history
  • Loading branch information
BilalQamar95 authored and muselesscreator committed Aug 31, 2023
1 parent d07129c commit 853aa76
Show file tree
Hide file tree
Showing 3 changed files with 3,686 additions and 4,678 deletions.
5 changes: 4 additions & 1 deletion config/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,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 853aa76

Please sign in to comment.