Fix tests x2

This commit is contained in:
Joe Haddad
2018-10-24 18:37:15 -04:00
parent 82052a53b6
commit 0481ae8178
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
const testSetup = require('../__shared__/test-setup');
test('builds in development', async () => {
const { fulfilled, ...rest } = await testSetup.scripts.start({ smoke: true });
const { fulfilled } = await testSetup.scripts.start({ smoke: true });
expect(fulfilled).toBe(true);
});
test('builds in production', async () => {

View File

@@ -1,7 +1,7 @@
import App from './App';
it('reads a typescript file with no syntax error', () => {
const app = new App();
const app = new App({});
expect(App.foo.bar).toBe(true);
expect(App.foo.baz!.n).toBe(123);
expect(app.n).toBe(123);