mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-26 13:23:05 +07:00
14 lines
353 B
JavaScript
14 lines
353 B
JavaScript
|
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, '_' )
|
||
|
});
|