From ec9963fb1e1ff5da2aebf8282ed5e89555d3bc2b Mon Sep 17 00:00:00 2001 From: Adam Caouette Date: Fri, 10 Feb 2023 13:15:50 -0500 Subject: [PATCH] CSR-886: add props to getMountOptions unit test helper --- src/helpers/unit-test-helper.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/helpers/unit-test-helper.js b/src/helpers/unit-test-helper.js index c54bbf01a..2e0636414 100644 --- a/src/helpers/unit-test-helper.js +++ b/src/helpers/unit-test-helper.js @@ -71,8 +71,9 @@ export function getMountOptions(mockData) { mixins: mockData.mixins, stubs: { Form }, }; + const props = mockData.propsData || {}; - return { global }; + return { global, props }; } export function setupMocksForJsFiles(mockData = {}) {