cloudstack/ui/tests/mockData/MigrateWizard.mock.json
Hoang Nguyen 338de72665 Explore Test Automation (#320)
* config jest and add setup for unittest

* config jest coverage

* example of unit testing a Status widget/component

* add license for test file

* add test/run command in the .travis.yml

* add mock store and i18n for vue jest

* add mock file missing

* add mock router

* add lincence to mock file & decodeHtml to setup file

* add mock axios instance & fix eslint on tests folder

* add test components > views > ActionButton component

* fix for test coverage success

* refactor test file

* add test Views > Autogenview.vue (Navigation Guard, Watchers, Computed)

* history mode mockRouter, refactor test code, test Autogenview > fetchData (routeName)

* test Views > AutogenView.vue (processing 31%)

* add mock router exception & test Views > AutogenView.vue (processing 43%)

* test Views > AutogenView (processing 65%), add test onSearch, closeAction, execAction, listUuidOpts

* refactor and add comment test files

* test Views > AutogenView (processing 91%)

* add comment file AutogenView.spec.js

* test Views > AutogenView.vue (handleSubmit method)

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-01-20 07:06:24 +05:30

24 lines
680 B
JSON

{
"messages": {
"en": {
"name": "name-en",
"Suitability": "Suitability-en",
"cpuused": "cpuused-en",
"memused": "memused-en",
"select": "select-en",
"ok": "ok-en",
"message.load.host.failed": "Failed to load hosts",
"message.migrating.vm.to.host.failed": "Failed to migrate VM to host"
},
"de": {
"name": "name-de",
"Suitability": "Suitability-de",
"cpuused": "cpuused-de",
"memused": "memused-de",
"select": "select-de",
"ok": "ok-de",
"message.load.host.failed": "Failed to load hosts",
"message.migrating.vm.to.host.failed": "Failed to migrate VM to host"
}
}
}