mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Add custom jest resolver to fix requiring "uuid" module
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
2 files changed
+38
No files matched your search
@@ -1,5 +1,9 @@
|
||||
const path = require('path');
|
||||
|
||||
module.exports = (rootDir) => {
|
||||
const shared = {
|
||||
"resolver": path.join(__dirname, "jest-28-resolver.js"),
|
||||
|
||||
transform: {
|
||||
"^.+\\.(t|j)sx?$": ["@swc/jest", { cwd: rootDir }],
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user