Skip to content

Commit

Permalink
tests: Remove our Lolex wrapper, uninstall Lolex.
Browse files Browse the repository at this point in the history
We've entirely switched over to Jest's "modern" fake timers, which
landed in jestjs/jest#7776.
  • Loading branch information
chrisbobbe committed Apr 13, 2021
1 parent c693cd2 commit e48fe1c
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 158 deletions.
39 changes: 0 additions & 39 deletions flow-typed/npm/lolex_vx.x.x.js

This file was deleted.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@
"jest-environment-jsdom-global": "^2.0.4",
"jest-extended": "^0.11.5",
"jetifier": "^1.6.5",
"lolex": "^5.1.1",
"metro-react-native-babel-preset": "^0.63.0",
"prettier": "^1.18.2",
"prettier-eslint": "^12.0.0",
Expand Down
111 changes: 0 additions & 111 deletions src/__tests__/lib/lolex.js

This file was deleted.

7 changes: 0 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7070,13 +7070,6 @@ loglevel@^1.4.1:
resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.6.3.tgz#77f2eb64be55a404c9fd04ad16d57c1d6d6b1280"
integrity sha512-LoEDv5pgpvWgPF4kNYuIp0qqSJVWak/dML0RY74xlzMZiT9w77teNAwKYKWBTYjlokMirg+o3jBwp+vlLrcfAA==

lolex@^5.1.1:
version "5.1.2"
resolved "https://registry.yarnpkg.com/lolex/-/lolex-5.1.2.tgz#953694d098ce7c07bc5ed6d0e42bc6c0c6d5a367"
integrity sha512-h4hmjAvHTmd+25JSwrtTIuwbKdwg5NzZVRMLn9saij4SZaepCrTCxPr35H/3bjwfMJtN+t3CX8672UIkglz28A==
dependencies:
"@sinonjs/commons" "^1.7.0"

loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.3.1, loose-envify@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf"
Expand Down

0 comments on commit e48fe1c

Please sign in to comment.