shenanigans-manager: Add real-time TypeScript transpiles for tests #218
Labels
area: tooling
Builds, infrastructure, packages, and other repository management
difficult
This is a hard issue. You'll want to get a few smaller ones done before trying it.
package: shenanigans-manager
status: accepting prs
Go ahead and send a pull request to resolve this issue!
Right now, the testing infrastructure is annoyingly two-step:
mocha-headless-chrome
Ideally (1.) would be completely removed so that test files don't need to be transpiled before running. That'd make testing a bit easier to do:
yarn compile -w
in order to prepare test files to runThere are three likely possible ways to improve this situation, in order of my preference:
mocha-headless-chrome
(ts-node
is not the answer)I would accept any of the above three things as a resolution to this issue - though switching to something like Karma is the most likely. It's acceptable to me that rewriting test assertions to a different library such as Jasmine would be required.
The text was updated successfully, but these errors were encountered: