Skip to content

Commit 5a06c98

Browse files
committed
Lint fix
1 parent 07c58d1 commit 5a06c98

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

test/ps.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ test('should throw if stderr contains an error', async t => {
9595

9696
const ps = require('../lib/ps');
9797

98-
await t.throws(pify(ps)())
98+
await t.throws(pify(ps)());
9999

100100
mockery.deregisterMock('child_process');
101101
mockery.deregisterMock('os');
@@ -110,7 +110,14 @@ test('should not throw if stderr contains the "bogus" error message from vscode'
110110
' 1 7166\n';
111111

112112
mockery.registerMock('child_process', {
113-
spawn: () => mocks.spawn(stdout, 'Error: your 131072x1 screen size is bogus. expect trouble', null, 0, null),
113+
spawn: () =>
114+
mocks.spawn(
115+
stdout,
116+
'Error: your 131072x1 screen size is bogus. expect trouble',
117+
null,
118+
0,
119+
null
120+
),
114121
});
115122
mockery.registerMock('os', {
116123
EOL: '\n',

0 commit comments

Comments
 (0)