Files
Huáng JùnliàngandGitHub 2de9394713 move core transformation cases to plugins and traverse (#15766)
* move core transformation cases to plugins

* move tests to traverse/regression
2023-07-12 09:30:38 -04:00

24 lines
367 B
JavaScript

class Bar {
test() {
// pass
(() => {
expect(this.constructor).toBe(Bar);
})();
// pass
(() => {
expect(this.constructor).toBe(Bar);
}).call(this);
(async () => {
expect(this.constructor).toBe(Bar);
})();
(async () => {
expect(this.constructor).toBe(Bar);
}).call(this);
}
}
(new Bar()).test();