Fix annotated var test

This commit is contained in:
Joe Haddad
2018-11-21 22:33:48 -05:00
parent 445a56dab4
commit be75601196

View File

@@ -8,7 +8,8 @@ it('reads a typescript file with no syntax error', () => {
});
it('supports decorators', () => {
expect((App as any).annotated).toBe(true);
const app = new App();
expect((app as any).annotated).toBe(true);
expect(app.decorated).toBe(42);
});