Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
fix integration.yml and delete console.log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishkeshan committed Dec 1, 2023
1 parent babe595 commit 9468828
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ jobs:
SHOUT-TEST_RESULTS: "${{steps.shout-test.outputs.result}}"
A-COMMAND-TEST_RESULTS: "${{steps.a-command-test.outputs.result}}"
with:
runners: "[shout-test,a-command-test]"
runners: "shout-test,a-command-test"
4 changes: 0 additions & 4 deletions __tests__/main.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ test('test runs', () => {

const child = cp.spawnSync(node, [ip], options)
const stdout = child.stdout.toString()
console.log(stdout)
expect(stdout).toContain(`✅ Test 1`)
})

Expand All @@ -25,7 +24,6 @@ test('test fails', () => {

const child = cp.spawnSync(node, [ip], options)
const stdout = child.stdout.toString()
console.log(stdout)
expect(stdout).toContain(`❌ Test 1`)
})

Expand All @@ -35,7 +33,6 @@ test('test errors out', () => {

const child = cp.spawnSync(node, [ip], options)
const stdout = child.stdout.toString()
console.log(stdout)
expect(stdout).toContain(`Error: Test failed to execute.`)
})

Expand All @@ -46,7 +43,6 @@ test('fails to run if input not in the right format', () => {

const child = cp.spawnSync(node, [ip], options)
const stderr = child.stderr.toString()
console.log(stderr)
expect(stderr).toContain(`The runners input must be a comma-separated list of strings.`)
})

Expand Down

0 comments on commit 9468828

Please sign in to comment.