diff --git a/modules/locations/TestLocation.js b/modules/locations/TestLocation.js index 76cab8ad65..8a9c93d762 100644 --- a/modules/locations/TestLocation.js +++ b/modules/locations/TestLocation.js @@ -10,13 +10,10 @@ class TestLocation { constructor(history) { this.history = history || []; this.listeners = []; + this.needsDOM = false; this._updateHistoryLength(); } - get needsDOM() { - return false; - } - _updateHistoryLength() { History.length = this.history.length; }