diff options
Diffstat (limited to 'src/pybind/mgr/dashboard/frontend/src/jestGlobalMocks.ts')
-rw-r--r-- | src/pybind/mgr/dashboard/frontend/src/jestGlobalMocks.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/src/jestGlobalMocks.ts b/src/pybind/mgr/dashboard/frontend/src/jestGlobalMocks.ts new file mode 100644 index 000000000..cb2d8c64f --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/src/jestGlobalMocks.ts @@ -0,0 +1,7 @@ +Object.defineProperty(window, 'getComputedStyle', { + value: () => ({ + getPropertyValue: () => { + return ''; + } + }) +}); |