1
0
Fork 0

formatting

pull/285/head
Alex Kalyvitis 2020-01-06 14:54:45 +01:00
parent 654dba3681
commit f0583ecb08
1 changed files with 61 additions and 60 deletions

View File

@ -170,6 +170,7 @@ describe('@actions/exec', () => {
expect(exitCode).toBe(0)
})
it('Exec fails with error on bad call', async () => {
const _testExecOptions = getExecOptions()
@ -303,7 +304,7 @@ describe('@actions/exec', () => {
expect(stderrCalled).toBeTruthy()
})
it('Handles child process holding streams open', async function () {
it('Handles child process holding streams open', async function() {
const semaphorePath = path.join(
getTestTemp(),
'child-process-semaphore.txt'
@ -349,7 +350,7 @@ describe('@actions/exec', () => {
fs.unlinkSync(semaphorePath)
}, 10000) // this was timing out on some slower hosted macOS runs at default 5s
it('Handles child process holding streams open and non-zero exit code', async function () {
it('Handles child process holding streams open and non-zero exit code', async function() {
const semaphorePath = path.join(
getTestTemp(),
'child-process-semaphore.txt'
@ -403,7 +404,7 @@ describe('@actions/exec', () => {
fs.unlinkSync(semaphorePath)
}, 10000) // this was timing out on some slower hosted macOS runs at default 5s
it('Handles child process holding streams open and stderr', async function () {
it('Handles child process holding streams open and stderr', async function() {
const semaphorePath = path.join(
getTestTemp(),
'child-process-semaphore.txt'