Closed mattpocock closed 4 years ago
Latest commit: 5c003667e8db1aa427b2a777a696f9d62b870763
Merging this PR will not cause any packages to be released. If these changes should not cause updates to packages in this repo, this is fine 🙂
If these changes should be published to npm, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
@Andarist agree on all the above. We have a rather lovely situation in that we get to do e2e testing without any of the usual downsides - slow tests and flakiness. This should cover the vast majority of our bases while also providing a really nice local dev environment for contributors.
This PR removes all unit tests from the project and replaces them with a much simpler, more comprehensive test suite.
The test suite now runs the actual codegen tool on the 'examples' folder, and typechecks them. This means:
yarn local-link
to test local repositories - just copy them and their imported files to the 'examples' folder and runyarn test:watch
.