mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
Improve tests isolation
This commit is contained in:
parent
7cb80fb018
commit
db44d68e11
@ -35,7 +35,7 @@ const run = path => {
|
||||
process.stderr.write(String(stderrBuffer));
|
||||
};
|
||||
return spawn('./bin/test', ['--require=sinon-bluebird', path], {
|
||||
env: Object.assign({ FORCE_COLOR: '1' }, process.env),
|
||||
env: { FORCE_COLOR: '1', PATH: process.env.PATH },
|
||||
}).then(onFinally, error => {
|
||||
ongoing.clear();
|
||||
onFinally(error);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user