try print error message

This commit is contained in:
yimysty
2022-08-04 16:25:55 -07:00
parent d0b379e44d
commit 9ebae0d26b

View File

@@ -25,6 +25,8 @@ describe('with all environment variables set', () => {
it.only('Executes cleanly', done => {
const ip = path.join(__dirname, './index.js')
cp.exec(`node ${ip}`, { env: process.env }, (err, stdout) => {
console.log(err)
console.log(stdout)
expect(stdout).toMatch(/::debug::all variables are set/)
done()
})