Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed May 17, 2019
1 parent edadd69 commit fb91d7a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
5 changes: 1 addition & 4 deletions test/echo.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ import { command } from './helpers/command.js'

testEach(
METHODS,
[
{ command, opts: { echo: false } },
{ command, opts: { echo: true } },
],
[{ command, opts: { echo: false } }, { command, opts: { echo: true } }],
(suffix, methodProps, data) =>
test(`'echo' option ${suffix}`, t =>
snapshotTest({ t, methodProps, data })),
Expand Down
8 changes: 3 additions & 5 deletions test/task.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ import { testEach } from './helpers/test_each/main.js'
import { snapshotTest } from './helpers/snapshot.js'
import { command } from './helpers/command.js'

testEach(
[{ command }, { task: 'nested', command }],
(suffix, data) =>
test(`task() ${suffix}`, t =>
snapshotTest({ t, methodProps: { method: 'task' }, data })),
testEach([{ command }, { task: 'nested', command }], (suffix, data) =>
test(`task() ${suffix}`, t =>
snapshotTest({ t, methodProps: { method: 'task' }, data })),
)

0 comments on commit fb91d7a

Please sign in to comment.