Skip to content

Commit bb016fb

Browse files
committed
Fix more tests
beeper node modules has a `return` statement outside of a function which doesn't parse. To fix it, we mock it. Also, setupEnvPolyfills is no longer being used.
1 parent e056c62 commit bb016fb

File tree

2 files changed

+5
-67
lines changed

2 files changed

+5
-67
lines changed

jestSupport/setupEnvPolyfills.js

Lines changed: 0 additions & 67 deletions
This file was deleted.

local-cli/__mocks__/beeper.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// [email protected] has a return statement outside of a function
2+
// and therefore doesn't parse. Let's mock it so that we can
3+
// run the tests.
4+
5+
module.exports = function () {};

0 commit comments

Comments
 (0)