refactor(Timer): share htmlReporter noopTimer via Timer.js

This commit is contained in:
johnjbarton
2019-03-12 16:22:17 -07:00
parent 4108deca02
commit ca2b62b00e
4 changed files with 12 additions and 10 deletions

View File

@@ -20,3 +20,10 @@ getJasmineRequireObj().Timer = function() {
return Timer;
};
getJasmineRequireObj().noopTimer = function() {
return {
start: function() {},
elapsed: function() { return 0; }
};
};