Closed uttrasey closed 8 years ago
Turns out that while this does transpile fine for some reason it's probably better to use extra parenthesis as such (works on both)
(() => {
console.log('boom');
})();
Going to leave this open for a few days then shut.
Fine to use in our library code (browserify transform) but IIFE's blow up in JEST.
Put the following code into a JEST test and :boom:
Presumably something to do with our
preprocessor.js
??)