when jasmine clock is installed and date is mocked new Date() instanceof Date should equal true
This commit is contained in:
@@ -61,6 +61,7 @@ getJasmineRequireObj().MockDate = function() {
|
||||
}
|
||||
|
||||
function createDateProperties() {
|
||||
FakeDate.prototype = GlobalDate.prototype;
|
||||
|
||||
FakeDate.now = function() {
|
||||
if (GlobalDate.now) {
|
||||
|
||||
Reference in New Issue
Block a user