mirror of
https://github.com/actions/deploy-pages.git
synced 2025-12-09 12:26:11 +00:00
try print error message
This commit is contained in:
@@ -25,6 +25,8 @@ describe('with all environment variables set', () => {
|
|||||||
it.only('Executes cleanly', done => {
|
it.only('Executes cleanly', done => {
|
||||||
const ip = path.join(__dirname, './index.js')
|
const ip = path.join(__dirname, './index.js')
|
||||||
cp.exec(`node ${ip}`, { env: process.env }, (err, stdout) => {
|
cp.exec(`node ${ip}`, { env: process.env }, (err, stdout) => {
|
||||||
|
console.log(err)
|
||||||
|
console.log(stdout)
|
||||||
expect(stdout).toMatch(/::debug::all variables are set/)
|
expect(stdout).toMatch(/::debug::all variables are set/)
|
||||||
done()
|
done()
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user