mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Dock tabs context menu (#1863)
* Adding context menu to dock tabs Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Allowing to open menu by contextmenu event Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Adding DockTab tests with fine-tuning jest config Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Adding disable state to menu items Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Removing empty lines Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Moving jest-canvas-mock to dev dependencies Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
1 parent
a325ffd610
commit
5d746cdff5
11 files changed
+337
-49
No files matched your search
+4
-1
@@ -76,6 +76,7 @@
|
||||
},
|
||||
"moduleNameMapper": {
|
||||
"\\.(css|scss)$": "<rootDir>/__mocks__/styleMock.ts",
|
||||
"\\.(svg)$": "<rootDir>/__mocks__/imageMock.ts",
|
||||
"^@lingui/macro$": "<rootDir>/__mocks__/@linguiMacro.ts"
|
||||
},
|
||||
"modulePathIgnorePatterns": [
|
||||
@@ -83,7 +84,8 @@
|
||||
"<rootDir>/src/extensions/npm"
|
||||
],
|
||||
"setupFiles": [
|
||||
"<rootDir>/src/jest.setup.ts"
|
||||
"<rootDir>/src/jest.setup.ts",
|
||||
"jest-canvas-mock"
|
||||
]
|
||||
},
|
||||
"build": {
|
||||
@@ -342,6 +344,7 @@
|
||||
"identity-obj-proxy": "^3.0.0",
|
||||
"include-media": "^1.4.9",
|
||||
"jest": "^26.0.1",
|
||||
"jest-canvas-mock": "^2.3.0",
|
||||
"jest-fetch-mock": "^3.0.3",
|
||||
"jest-mock-extended": "^1.0.10",
|
||||
"make-plural": "^6.2.1",
|
||||
|
||||
Reference in new issue
Block a user