test(transpiler): add spec for instanceof
This commit is contained in:
parent
85ee62cb0d
commit
c7e9d10f0b
|
@ -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);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
Loading…
Reference in New Issue