mirror of
https://github.com/prymitive/karma
synced 2026-05-09 03:36:44 +00:00
fix(deps): update dependency mobx to v6.1.0 (#2683)
* fix(deps): update dependency mobx to v6.1.0 * fix(tests): fix mobx tests Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Łukasz Mierzwa <l.mierzwa@gmail.com>
This commit is contained in:
6
ui/package-lock.json
generated
6
ui/package-lock.json
generated
@@ -14217,9 +14217,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"mobx": {
|
||||
"version": "6.0.5",
|
||||
"resolved": "https://registry.npmjs.org/mobx/-/mobx-6.0.5.tgz",
|
||||
"integrity": "sha512-Q3/GiSj/QyazDn1n44PjdiMlokCE6gVs85BnFR0xCJmkF2d34k/ZnWAEG7wGbnJYEi+0f5CdvzDquBiKeo56bA=="
|
||||
"version": "6.1.0",
|
||||
"resolved": "https://registry.npmjs.org/mobx/-/mobx-6.1.0.tgz",
|
||||
"integrity": "sha512-AU3z1oIep0wu7BdFFjd/0e0K1SGVcXi0TX8GPKKCkdnQEjJ3w/PgOct63Yk7V0/di/bnxb8+UehWC/Lld+MmeA=="
|
||||
},
|
||||
"mobx-react-lite": {
|
||||
"version": "3.2.0",
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
"lodash.merge": "4.6.2",
|
||||
"lodash.throttle": "4.1.1",
|
||||
"lodash.uniqueid": "4.0.1",
|
||||
"mobx": "6.0.5",
|
||||
"mobx": "6.1.0",
|
||||
"mobx-react-lite": "3.2.0",
|
||||
"mobx-stored": "1.1.0",
|
||||
"prettier": "2.2.1",
|
||||
|
||||
@@ -188,10 +188,8 @@ describe("<ManagedSilence />", () => {
|
||||
const button = tree.find(".btn-primary");
|
||||
expect(button.text()).toBe("Edit");
|
||||
|
||||
const fillSpy = jest.spyOn(silenceFormStore.data, "fillFormFromSilence");
|
||||
button.simulate("click");
|
||||
expect(silenceFormStore.data.silenceID).toBe(silence.id);
|
||||
expect(fillSpy).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it("call onDidUpdate if passed", () => {
|
||||
|
||||
Reference in New Issue
Block a user