Links

Running Scripts Before the Tests

Sometimes in your javascript/typescript projects you would like to run additional steps before the test runner runs. This could be used for setting up dependencies, transpiling code, or various other things to help your tests run more smoothly.
In order to support this, Testery provides the ability to define a section of your package.json that will run prior to the tests.
To do this, locate the scripts section of your package.json and add the following script,
{
"scripts":
"testeryPreRunScript":"{{YOUR SCRIPTS GO HERE}}",
...
}