denoland / deno_emit

Transpile and bundle JavaScript and TypeScript under Deno and Deno Deploy
https://jsr.io/@deno/emit
MIT License
223 stars 23 forks source link

test: port tests from deno bundle #111

Closed yacinehmito closed 1 year ago

yacinehmito commented 1 year ago

Before adding support to more features to deno_emit, I wanted to first port the tests from deno bundle so that I know that the behavior is consistent with it and identify missing features.

This PR replaces the current test suite with tests ported and adapted from deno bundle's. Some tests are ignored because deno_emit doesn't support the corresponding feature yet. Note that I didn't include the tests related to type-checking, as it is out-of-scope now.

The PR also makes the following changes: