Skip to content

Commit ea218d3

Browse files
cbolgianoflotwig
authored andcommitted
18143: Updating unit test
1 parent 51c2481 commit ea218d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/runner-shared/src/logger.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ describe('logger', () => {
3030

3131
it('should not call trim', () => {
3232
logger._logValues({})
33-
logger._logValues({ test: '' })
33+
logger._logValues({ test: {} })
3434
logger._logValues(null)
3535
logger._logValues(undefined)
3636

37-
expect(!spyTrim.calledOnce)
37+
expect(spyTrim.getCalls()).to.have.length(0)
3838
})
3939

4040
// The positive unit tests to capture if log has been called are already written in

0 commit comments

Comments
 (0)