k6 icon indicating copy to clipboard operation
k6 copied to clipboard

Tc39 type erasure test fixes

Open mstoykov opened this issue 1 year ago • 0 comments

What?

Fix some issues with tc39 tests

Why?

Before tc39 tests for enhanced compatilbity mode aka type erasure for ts were basically not doing anything.

Also turns out compiler.Parse was failing some tests due to lack of support for corner cases needed only in tc39 tests.

More info in each commit message.

Checklist

  • [ ] I have performed a self-review of my code.
  • [ ] I have added tests for my changes.
  • [ ] I have run linter locally (make lint) and all checks pass.
  • [ ] I have run tests locally (make tests) and all tests pass.
  • [ ] I have commented on my code, particularly in hard-to-understand areas.

Related PR(s)/Issue(s)

mstoykov avatar Oct 21 '24 10:10 mstoykov