ui_migration feature(vitest) Reduce boilerplate code at overrides
This commit is contained in:
parent
ffcc7f936b
commit
c33782e9d6
2 changed files with 11 additions and 63 deletions
|
|
@ -13,56 +13,7 @@ export const componentOverrides = {
|
|||
propertyName: "",
|
||||
thingName: "",
|
||||
},
|
||||
global: {
|
||||
mocks: {
|
||||
wotStore: {
|
||||
thingDescriptions: {
|
||||
test_thing: {
|
||||
properties: {
|
||||
test_property_1: {},
|
||||
test_property_2: {},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
"slideScanContent.vue": {
|
||||
global: {
|
||||
mocks: {
|
||||
wotStore: {
|
||||
thingDescriptions: {
|
||||
test_thing: {
|
||||
properties: {
|
||||
test_property_1: {},
|
||||
test_property_2: {},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
"slideScanControls.vue": {
|
||||
global: {
|
||||
mocks: {
|
||||
wotStore: {
|
||||
thingDescriptions: {
|
||||
test_thing: {
|
||||
properties: {
|
||||
test_property_1: {},
|
||||
test_property_2: {},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
"miniStreamDisplay.vue": {
|
||||
props: { streamId: "testProp" },
|
||||
},
|
||||
|
|
@ -112,7 +63,6 @@ export const componentOverrides = {
|
|||
"inputFromSchema.vue": {
|
||||
props: { dataSchema: {} },
|
||||
},
|
||||
|
||||
"propertyControl.vue": {
|
||||
props: {
|
||||
propertyName: "",
|
||||
|
|
@ -173,16 +123,4 @@ export const componentOverrides = {
|
|||
"cameraCalibrationSettings.vue": {
|
||||
props: { cameraUri: "" },
|
||||
},
|
||||
|
||||
"CSMCalibrationSettings.vue": {
|
||||
global: {
|
||||
mocks: {
|
||||
thingDescriptions: {
|
||||
csm: {
|
||||
actions: {},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue