@elliemae/ds-monorepo-devops 3.57.0-next.4 → 3.57.0-next.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1,17 @@
|
|
|
1
1
|
global.console = { jestLog: console.log, error: jest.fn(), warn: jest.fn(), log: jest.fn() };
|
|
2
|
+
jest.mock('@testing-library/react', () => {
|
|
3
|
+
const original = jest.requireActual('@testing-library/react');
|
|
4
|
+
const { prettyDOM } = jest.requireActual('@testing-library/dom');
|
|
5
|
+
return {
|
|
6
|
+
...original,
|
|
7
|
+
// 8/oct/2025
|
|
8
|
+
// copied and adapted for our needs from
|
|
9
|
+
// eslint-disable-next-line max-len
|
|
10
|
+
// https://github.com/testing-library/react-testing-library/blob/1c931a6c03091d725eccee7767d9ec696d5d33c6/src/pure.js#L190
|
|
11
|
+
debug: (el = original.baseElement, maxLength, options) => {
|
|
12
|
+
Array.isArray(el)
|
|
13
|
+
? el.forEach((e) => global.console.jestLog?.(prettyDOM(e, maxLength, options)))
|
|
14
|
+
: global.console.jestLog?.(prettyDOM(el, maxLength, options));
|
|
15
|
+
},
|
|
16
|
+
};
|
|
17
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-monorepo-devops",
|
|
3
|
-
"version": "3.57.0-next.
|
|
3
|
+
"version": "3.57.0-next.41",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Monorepo Devops",
|
|
6
6
|
"type": "module",
|
|
@@ -42,20 +42,21 @@
|
|
|
42
42
|
"reportFile": "tests.xml",
|
|
43
43
|
"indent": 4
|
|
44
44
|
},
|
|
45
|
+
"scripts": {},
|
|
45
46
|
"peerDependencies": {
|
|
46
|
-
"@elliemae/pui-cli": "
|
|
47
|
+
"@elliemae/pui-cli": "catalog:",
|
|
47
48
|
"arg": "~5.0.2",
|
|
48
49
|
"glob": "~10.2.5",
|
|
49
50
|
"ignore": "^5.3.0",
|
|
50
51
|
"inquirer": "~12.0.0",
|
|
51
|
-
"jest": "
|
|
52
|
+
"jest": "catalog:"
|
|
52
53
|
},
|
|
53
54
|
"publishConfig": {
|
|
54
55
|
"access": "public",
|
|
55
56
|
"typeSafety": false
|
|
56
57
|
},
|
|
57
58
|
"dependencies": {
|
|
58
|
-
"@playwright/experimental-ct-react": "
|
|
59
|
+
"@playwright/experimental-ct-react": "catalog:"
|
|
59
60
|
},
|
|
60
|
-
"
|
|
61
|
-
}
|
|
61
|
+
"gitHead": "18ae25814ee005325f5acce1789ac2d97a919b20"
|
|
62
|
+
}
|