Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Faleij committed May 30, 2017
1 parent 03aaa30 commit f4c3d34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test-run-script.js
Expand Up @@ -76,12 +76,12 @@ tap.test('runScript run through with parameters', (t) => {

tap.test('runScript run function through with parameters', (t) => {
const options = {
script: (pushData) => `${pushData} test`,
pushData: 'pushData'
script: (pushData) => `${pushData} baz`,
pushData: 'fooBar'
}
runScript(options)
.then((data) => {
t.equal(data.description, 'Running dummy script\npushData test\n', 'runScript runs ok')
t.equal(data.description, 'fooBar baz', 'runScript runs ok')
t.end()
})
.catch((err) => {
Expand Down

0 comments on commit f4c3d34

Please sign in to comment.