We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82052a5 commit 0481ae8Copy full SHA for 0481ae8
test/fixtures/typescript-advanced/index.test.js
@@ -1,7 +1,7 @@
1
const testSetup = require('../__shared__/test-setup');
2
3
test('builds in development', async () => {
4
- const { fulfilled, ...rest } = await testSetup.scripts.start({ smoke: true });
+ const { fulfilled } = await testSetup.scripts.start({ smoke: true });
5
expect(fulfilled).toBe(true);
6
});
7
test('builds in production', async () => {
test/fixtures/typescript-advanced/src/App.test.ts
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);
0 commit comments