mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix duplicate mock warning
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
9877f99c3a
commit
5d39fe5539
2 files changed
+2
-14
No files matched your search
@@ -44,6 +44,8 @@ global.ResizeObserver = class {
|
||||
jest.mock("./renderer/components/monaco-editor/monaco-editor");
|
||||
jest.mock("./renderer/components/tooltip/withTooltip");
|
||||
|
||||
jest.mock("monaco-editor");
|
||||
|
||||
const getInjectables = (environment: "renderer" | "main", filePathGlob: string) => [
|
||||
...glob.sync(`./{common,extensions,${environment}}/**/${filePathGlob}`, {
|
||||
cwd: __dirname,
|
||||
|
||||
Reference in new issue
Block a user