clear logs, added logger, replace cebab to camelcase
This commit is contained in:
@@ -39,16 +39,16 @@ describe("tests Services Manager Page component", () => {
|
||||
const resServices = [
|
||||
{
|
||||
"id": 1,
|
||||
"created_at": "2024-03-06T17:31:31.948355541+03:00",
|
||||
"updated_at": "2024-03-06T17:31:31.948355541+03:00",
|
||||
"deleted_at": null,
|
||||
"createdAt": "2024-03-06T17:31:31.948355541+03:00",
|
||||
"updatedAt": "2024-03-06T17:31:31.948355541+03:00",
|
||||
"deletedAt": null,
|
||||
"name": "jsonplaceholder.typicode.com",
|
||||
"port": 9965,
|
||||
"proxy_ip": "172.25.78.153",
|
||||
"device_ip": "https://jsonplaceholder.typicode.com/",
|
||||
"internet_uri": "localhost",
|
||||
"proxyIp": "172.25.78.153",
|
||||
"deviceIp": "https://jsonplaceholder.typicode.com/",
|
||||
"internetUri": "localhost",
|
||||
"description": "localhost",
|
||||
"is_online": true
|
||||
"isOnline": true
|
||||
},
|
||||
]
|
||||
|
||||
@@ -61,14 +61,11 @@ describe("tests Services Manager Page component", () => {
|
||||
|
||||
test('Services Manager Page mounted with vuex', async () => {
|
||||
const wrapper = mount(Services, {
|
||||
// shallow: true,
|
||||
global: {
|
||||
plugins: [store]
|
||||
}
|
||||
})
|
||||
|
||||
// console.log('wrapper.vm', wrapper.vm)
|
||||
|
||||
await serviceOfServices.fetchServices()
|
||||
|
||||
const uploadServices = store.getters['services/services']
|
||||
|
||||
Reference in New Issue
Block a user