Skip to content

Commit

Permalink
attempted to change the global promise based on jestjs/jest#7151 (com…
Browse files Browse the repository at this point in the history
  • Loading branch information
zhughes3 committed Aug 25, 2020
1 parent 7d0199e commit 575958c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions manager.test.js
@@ -1,3 +1,5 @@
global.Promise = require('promise')

const Manager = require ('./Manager')

jest.useFakeTimers()
Expand Down
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -10,6 +10,7 @@
"jest": "=24.9.0"
},
"dependencies": {
"node-cache": "^4.2.0"
"node-cache": "^4.2.0",
"promise": "^8.1.0"
}
}

0 comments on commit 575958c

Please sign in to comment.