fix: failing test

This commit is contained in:
iamsivin 2022-09-02 20:20:17 +05:30
parent 100c676798
commit 06dff64ee9

View file

@ -13,6 +13,7 @@ describe('#actions', () => {
await actions.index({ commit }, { portalSlug: 'room-rental' });
expect(commit.mock.calls).toEqual([
[types.default.SET_UI_FLAG, { isFetching: true }],
[types.default.CLEAR_CATEGORIES],
[types.default.ADD_MANY_CATEGORIES, categoriesPayload.payload],
[types.default.ADD_MANY_CATEGORIES_ID, [1, 2]],
[types.default.SET_UI_FLAG, { isFetching: false }],