Skip to content

Commit 1076312

Browse files
committed
Update tests
1 parent c380a8e commit 1076312

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
@@ -129,7 +129,7 @@ describe('command', () => {
129129
const main = mockModule.getModuleUnderTest().default;
130130
main.run(getMockHelper(), { mode: 'dev' }).then(() => {
131131
assert.isTrue(mockDevConfig.called);
132-
assert.isTrue(mockLogger.calledWith('stats', 'dev config'));
132+
assert.isTrue(mockLogger.calledWith(stats, 'dev config'));
133133
});
134134
});
135135

@@ -271,7 +271,7 @@ describe('command', () => {
271271
);
272272
setTimeout(
273273
dfd.callback(() => {
274-
assert.isTrue(mockLogger.calledWith('stats', 'dist config', 'watching...'));
274+
assert.isTrue(mockLogger.calledWith(stats, 'dist config', 'watching...'));
275275
}),
276276
1000
277277
);

0 commit comments

Comments
 (0)