diff --git a/scripts/test.js b/scripts/test.js index ac21680..c78b6c9 100644 --- a/scripts/test.js +++ b/scripts/test.js @@ -45,8 +45,10 @@ const JEST_CONFIG = { args.push( '--config', JSON.stringify( JEST_CONFIG ) ); -spawn.sync( wpScripts, args, { +const result = spawn.sync( wpScripts, args, { cwd: modules.rootDirectory, stdio: 'inherit', env: { ...process.env, NODE_ENV: 'development' }, } ); + +process.exit(result.status); \ No newline at end of file