Skip to content

Commit cb5fcbd

Browse files
Iiro Jäppinenokonet
authored andcommitted
test: fix test
1 parent ed9e586 commit cb5fcbd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/makeCmdTasks.spec.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ describe('makeCmdTasks', () => {
99
})
1010

1111
it('should return an array', async () => {
12-
expect(await makeCmdTasks('test', ['test.js'])).toBeInstanceOf(Array)
12+
const array = await makeCmdTasks('test', gitDir, ['test.js'])
13+
expect(array).toBeInstanceOf(Array)
1314
})
1415

1516
it('should work with a single command', async () => {

0 commit comments

Comments
 (0)