feat(test): test for services

This commit is contained in:
2024-03-06 14:18:43 +03:00
parent 08439ef477
commit 8889b0a83d
2 changed files with 13 additions and 9 deletions

View File

@@ -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
}
}