CSR-886: add props to getMountOptions unit test helper
This commit is contained in:
parent
ca81486408
commit
ec9963fb1e
1 changed files with 2 additions and 1 deletions
|
|
@ -71,8 +71,9 @@ export function getMountOptions(mockData) {
|
||||||
mixins: mockData.mixins,
|
mixins: mockData.mixins,
|
||||||
stubs: { Form },
|
stubs: { Form },
|
||||||
};
|
};
|
||||||
|
const props = mockData.propsData || {};
|
||||||
|
|
||||||
return { global };
|
return { global, props };
|
||||||
}
|
}
|
||||||
|
|
||||||
export function setupMocksForJsFiles(mockData = {}) {
|
export function setupMocksForJsFiles(mockData = {}) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue