Fix unit tests by mocking the date

This commit is contained in:
Samer Albahra
2019-05-19 10:37:17 -05:00
parent e28c309018
commit 9bbb41421f
3 changed files with 9 additions and 0 deletions

5
package-lock.json generated
View File

@@ -2377,6 +2377,11 @@
"integrity": "sha1-mDaL6wnfdT9k9m2U5VNql7NqJDA=",
"dev": true
},
"mockdate": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/mockdate/-/mockdate-2.0.2.tgz",
"integrity": "sha1-WuDA6vj+I+AJzQH5iJtCxPY0rxI="
},
"moment": {
"version": "2.24.0",
"resolved": "https://registry.npmjs.org/moment/-/moment-2.24.0.tgz",