Skip to content

Commit be75601

Browse files
committed
Fix annotated var test
1 parent 445a56d commit be75601

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ it('reads a typescript file with no syntax error', () => {
88
});
99

1010
it('supports decorators', () => {
11+
expect((App as any).annotated).toBe(true);
12+
1113
const app = new App();
12-
expect((app as any).annotated).toBe(true);
1314
expect(app.decorated).toBe(42);
1415
});

0 commit comments

Comments
 (0)