Skip to content

Commit 0481ae8

Browse files
committed
Fix tests x2
1 parent 82052a5 commit 0481ae8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/fixtures/typescript-advanced/index.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const testSetup = require('../__shared__/test-setup');
22

33
test('builds in development', async () => {
4-
const { fulfilled, ...rest } = await testSetup.scripts.start({ smoke: true });
4+
const { fulfilled } = await testSetup.scripts.start({ smoke: true });
55
expect(fulfilled).toBe(true);
66
});
77
test('builds in production', async () => {

test/fixtures/typescript-advanced/src/App.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import App from './App';
22

33
it('reads a typescript file with no syntax error', () => {
4-
const app = new App();
4+
const app = new App({});
55
expect(App.foo.bar).toBe(true);
66
expect(App.foo.baz!.n).toBe(123);
77
expect(app.n).toBe(123);

0 commit comments

Comments
 (0)