Skip to content

Commit

Permalink
fix(gatsby-link): Do not crash in unit tests when globals are undefin…
Browse files Browse the repository at this point in the history
…ed (gatsbyjs#25608)

* fix(gatsby-link): Do not crash in unit tests when globals are undefined

* wrap in production checks

* different approach

* Revert "different approach"

This reverts commit 91a894b.
  • Loading branch information
ViCo0TeCH committed Jul 10, 2020
1 parent e5d81f3 commit 336ad16
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions yarn.lock
Expand Up @@ -1607,12 +1607,7 @@
dependencies:
"@types/node" "*"

"@types/node@*":
version "14.0.14"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.0.14.tgz#24a0b5959f16ac141aeb0c5b3cd7a15b7c64cbce"
integrity sha512-syUgf67ZQpaJj01/tRTknkMNoBBLWJOBODF0Zm4NrXmiSuxjymFrxnTu1QVYRubhVkRcZLYZG8STTwJRdVm/WQ==

"@types/node@^8.5.7":
"@types/node@*", "@types/node@^8.5.7":
version "8.10.61"
resolved "https://registry.yarnpkg.com/@types/node/-/node-8.10.61.tgz#d299136ce54bcaf1abaa4a487f9e4bedf6b0d393"
integrity sha512-l+zSbvT8TPRaCxL1l9cwHCb0tSqGAGcjPJFItGGYat5oCTiq1uQQKYg5m7AF1mgnEBzFXGLJ2LRmNjtreRX76Q==
Expand Down

0 comments on commit 336ad16

Please sign in to comment.