test(transpiler): add spec for instanceof

This commit is contained in:
Vojta Jina 2014-10-09 14:04:13 -07:00
parent 85ee62cb0d
commit c7e9d10f0b
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
import {describe, it, expect} from 'test_lib/test_lib';
class Foo {}
export function main() {
describe('instanceof', function() {
it('should work', function() {
expect(new Foo() instanceof Foo);
});
});
}