Improve code quality and write tests
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
global.munit = require( 'munit' );
|
||||
global.argv = require( '../' );
|
||||
|
||||
// Only stop test suite when running make test
|
||||
if ( ! process.env.NODE_TEST_NO_SKIP ) {
|
||||
munit.defaults.settings.stopOnFail = true;
|
||||
}
|
||||
|
||||
// Render all tests
|
||||
munit.render( __dirname + '/../test/', {
|
||||
junit: __dirname + '/results/',
|
||||
junitPrefix: process.version.replace( /\./g, '_' )
|
||||
});
|
||||
Reference in New Issue
Block a user