Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8536)

Unified Diff: chrome/test/data/webui/md_bookmarks/test_store.js

Issue 2926763005: [MD Bookmarks] Refactor window timer mocking. (Closed)
Patch Set: address comments Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/webui/md_bookmarks/test_store.js
diff --git a/chrome/test/data/webui/md_bookmarks/test_store.js b/chrome/test/data/webui/md_bookmarks/test_store.js
index 57f5505c118e6857bfe4d5f2b6a7aaec199c3fa1..f9c705d8ee4c91409d6539d09c77beb9165539da 100644
--- a/chrome/test/data/webui/md_bookmarks/test_store.js
+++ b/chrome/test/data/webui/md_bookmarks/test_store.js
@@ -19,6 +19,7 @@ suiteSetup(function() {
TestStore.prototype = {
__proto__: bookmarks.Store.prototype,
+ /** @override */
init: function(state) {
if (this.acceptInit_)
bookmarks.Store.prototype.init.call(this, state);
@@ -57,6 +58,7 @@ suiteSetup(function() {
this.enableReducers_ = enabled;
},
+ /** @override */
reduce_: function(action) {
this.lastAction_ = action;
if (this.enableReducers_)

Powered by Google App Engine
This is Rietveld 408576698