Open Squishy123 opened 5 years ago
ronin make:test %NAME%
e.g. helloworld.test.js
/tests/*
async function %TEST%() { return; } tests("TEST 1", () => { return %TEST%().then(data => { expect(data).toBeNull() }); }
Add cli support for creating tests
The following should be implemented:
CLI Support for make
The test file should contain test in it's name:
e.g. helloworld.test.js
All tests should be located in the tests directory at the root of the repo
/tests/*
The test template should looking something like this: