Chromium Code Reviews| Index: chrome/test/data/webui/md_history/history_list_test.js |
| diff --git a/chrome/test/data/webui/md_history/history_list_test.js b/chrome/test/data/webui/md_history/history_list_test.js |
| index 0ccad6a453a07b595909a15ac7015bf958680251..510813770b7eb621aa306be4426d97c1743f64a2 100644 |
| --- a/chrome/test/data/webui/md_history/history_list_test.js |
| +++ b/chrome/test/data/webui/md_history/history_list_test.js |
| @@ -231,10 +231,13 @@ cr.define('md_history.history_list_test', function() { |
| }); |
| }); |
| - teardown(function() { |
| + teardown(function(done) { |
| element.historyData_ = []; |
| - element.searchedTerm = ''; |
| registerMessageCallback('removeVisits', this, undefined); |
| + registerMessageCallback('queryHistory', this, undefined); |
| + app.queryState_.queryingDisabled = true; |
| + app.set('queryState_.searchTerm', ''); |
| + flush().then(done); |
|
tsergeant
2016/07/19 03:32:20
You should just be able to
return flush();
witho
calamity
2016/07/19 04:35:33
Done.
|
| }); |
| }); |
| } |