Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
beforeEach(function() {
el = document.createElement('div');
app = new StatefulApp(el, {$screen: 'hello', animal: 'wombat'}, {window: windowStub});
app.start();
});
app.router(['/', () => minDocument.createElement('div')])
beforeEach(function() {
el = document.createElement('div');
app = new ConstantApp(el, {$screen: 'hello'}, {window: windowStub});
});