Skip to content

Commit 9131016

Browse files
committed
Update tests
1 parent 04012b1 commit 9131016

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ describe('command', () => {
133133
const main = mockModule.getModuleUnderTest().default;
134134
main.run(getMockHelper(), { mode: 'dev' }).then(() => {
135135
assert.isTrue(mockDevConfig.called);
136-
assert.isTrue(mockLogger.calledWith('stats', ['dev config']));
136+
assert.isTrue(mockLogger.calledWith(stats, ['dev config']));
137137
});
138138
});
139139

@@ -284,7 +284,7 @@ describe('command', () => {
284284
);
285285
setTimeout(
286286
dfd.callback(() => {
287-
assert.isTrue(mockLogger.calledWith('stats', ['dist config'], 'watching...'));
287+
assert.isTrue(mockLogger.calledWith(stats, ['dist config'], 'watching...'));
288288
}),
289289
1000
290290
);

0 commit comments

Comments
 (0)