зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1361270 - Update test; r=nchevobbe
MozReview-Commit-ID: 26l7AlZOWO0 --HG-- extra : rebase_source : 0c76f11b746d3aedececc644d5620f80bd3b138a
This commit is contained in:
Родитель
46d58cb8f8
Коммит
44dac424c3
|
@ -58,6 +58,14 @@ describe("Searching in grips", () => {
|
|||
expect(getAllMessages(store.getState()).size).toEqual(1);
|
||||
});
|
||||
});
|
||||
|
||||
describe("Search in logs with net messages", () => {
|
||||
it("matches on network messages", () => {
|
||||
store.dispatch(actions.filterToggle("net"));
|
||||
store.dispatch(actions.filterTextSet("get"));
|
||||
expect(getAllMessages(store.getState()).size).toEqual(1);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
function prepareBaseStore() {
|
||||
|
@ -70,6 +78,7 @@ function prepareBaseStore() {
|
|||
"console.log('myregex', /a.b.c/)",
|
||||
"console.map('mymap')",
|
||||
"console.log('myobject', {red: 'redValue', green: 'greenValue', blue: 'blueValue'});",
|
||||
"GET request",
|
||||
]);
|
||||
|
||||
return store;
|
||||
|
|
Загрузка…
Ссылка в новой задаче