Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
mischnic committed Mar 3, 2022
1 parent c9264c4 commit a19ed25
Showing 1 changed file with 18 additions and 0 deletions.
Expand Up @@ -24,4 +24,22 @@ if (process.env.NODE_ENV !== 'test') {
require('./true-alternate');
}

if (typeof require === "function") {
require('./true-consequent');
} else {
require('./false-alternate');
}

if (typeof exports === "object") {
require('./true-consequent');
} else {
require('./false-alternate');
}

if (typeof module === "object") {
require('./true-consequent');
} else {
require('./false-alternate');
}

module.exports = 2;

0 comments on commit a19ed25

Please sign in to comment.