Make test-node report errors

This commit is contained in:
Fedor Indutny 2021-04-05 13:44:02 -07:00 committed by Josh Perez
parent 8fe1be8678
commit fc3004a183
2 changed files with 7 additions and 4 deletions

View file

@ -6,9 +6,7 @@
const ByteBuffer = require('../components/bytebuffer/dist/ByteBufferAB.js');
const { setEnvironment, Environment } = require('../ts/environment');
before(() => {
setEnvironment(Environment.Test);
});
setEnvironment(Environment.Test);
// To replicate logic we have on the client side
global.window = {