updated tests
This commit is contained in:
@@ -58,7 +58,7 @@ describe('tests for ServiceOfServices', () => {
|
||||
test('test of fetchServicesList', async () => {
|
||||
const serviceOfServices = new ServiceOfServices(adapterOfServices, store)
|
||||
|
||||
await serviceOfServices.fetchServicesList()
|
||||
await serviceOfServices.fetchServices()
|
||||
|
||||
const usersList = store.getters['services/servicesList']
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ describe("tests App mounted with vuex", () => {
|
||||
"is_active": true
|
||||
}])
|
||||
expect(componentState).toEqual('active')
|
||||
expect(selectedService).not.toBe(null)
|
||||
expect(selectedService).toBe(null)
|
||||
expect(answer).toBe("ok")
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user