Skip to content

Commit

Permalink
stop checkStyles from running in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chaance committed Dec 22, 2019
1 parent e52b07c commit dcc8235
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/utils/src/index.js
Expand Up @@ -14,6 +14,7 @@ if (__DEV__) {
checkedPkgs[pkg] = true;

if (
process.env.NODE_ENV !== "test" &&
parseInt(
window
.getComputedStyle(document.body)
Expand Down

0 comments on commit dcc8235

Please sign in to comment.