feat(test): test for services

This commit is contained in:
vbuglov committed 2024-03-06 14:18:43 +03:00
1 parent 08439ef477
commit 8889b0a83d
2 files changed
+13 -9

No files matched your search

@@ -4,9 +4,9 @@ class ServiceOfServices {
this.store = store
}
async fetchUsersList() {
async fetchServicesList() {
const services = await this.adapterOfServices.getServices()
await this.store.dispatch('services/saveServices', services)
this.store.dispatch('services/saveServices', services)
return services
}
}