web-infra-dev / swc-plugins

SWC plugins and binding
MIT License
55 stars 4 forks source link

refactor: move tests to integration_tests crate #173

Closed JSerFeng closed 1 year ago

JSerFeng commented 1 year ago

Move all tests into integration_tests test cases

Why

Previously, integration tests are placed on each plugin crate, integration tests has dependencies of all plugins, thus the dependency chain looks like:

plugin(to be tested) -> integration tests -> swc_plugins_collection -> plugin(to be tested)

So make integration tests to a single crate

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: 88c3a0d50cf09bf872c36a1ff6c63a9a20901d2d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ---------------------- | ----- | | @modern-js/swc-plugins | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR