From 0481ae817848fbe3a18ead1ec4fce6bdbad24718 Mon Sep 17 00:00:00 2001 From: Joe Haddad Date: Wed, 24 Oct 2018 18:37:15 -0400 Subject: [PATCH] Fix tests x2 --- test/fixtures/typescript-advanced/index.test.js | 2 +- test/fixtures/typescript-advanced/src/App.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/fixtures/typescript-advanced/index.test.js b/test/fixtures/typescript-advanced/index.test.js index 93f4e246..fe7ff9c2 100644 --- a/test/fixtures/typescript-advanced/index.test.js +++ b/test/fixtures/typescript-advanced/index.test.js @@ -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 () => { diff --git a/test/fixtures/typescript-advanced/src/App.test.ts b/test/fixtures/typescript-advanced/src/App.test.ts index cef45f28..ff9c25fc 100644 --- a/test/fixtures/typescript-advanced/src/App.test.ts +++ b/test/fixtures/typescript-advanced/src/App.test.ts @@ -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);