Skip to content

Commit

Permalink
refine formatting in main.test
Browse files Browse the repository at this point in the history
  • Loading branch information
imcotton committed Jul 7, 2024
1 parent 47f57ae commit 8cdf854
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/cli/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,16 @@ describe('main', function () {
await main({ args, lines, print, quit });

Array.of(

'lodash.memoize',
'function-bind',
'buffer',

).forEach(function (pkg, i) {

mock.assertSpyCallArg(print, i, 0, pkg);
});

mock.assertSpyCalls(print, 3);
});

mock.assertSpyCallArg(quit, 0, 0, 1);
mock.assertSpyCalls(quit, 1);
Expand Down

0 comments on commit 8cdf854

Please sign in to comment.