Mock clock now less intrusive, replacing global timer funcions only when clock is installed. [Fixes #54168708]
This commit is contained in:
@@ -48,11 +48,6 @@
|
||||
},
|
||||
|
||||
clock: env.clock,
|
||||
setTimeout: env.clock.setTimeout,
|
||||
clearTimeout: env.clock.clearTimeout,
|
||||
setInterval: env.clock.setInterval,
|
||||
clearInterval: env.clock.clearInterval,
|
||||
|
||||
jsApiReporter: new jasmine.JsApiReporter({
|
||||
timer: new jasmine.Timer()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user