mirror of https://github.com/actions/toolkit
formatting
parent
654dba3681
commit
f0583ecb08
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue