@elliemae/pui-cli 8.51.1 → 8.51.3
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.
|
@@ -86,7 +86,8 @@ const jestConfig = {
|
|
|
86
86
|
'^.+\\.[jt]sx?$': ['@swc/jest', swcrcConfig],
|
|
87
87
|
},
|
|
88
88
|
transformIgnorePatterns: [
|
|
89
|
-
|
|
89
|
+
// eslint-disable-next-line prettier/prettier, no-useless-escape
|
|
90
|
+
'/node_modules/(?!(\@elliemae\/pui-cli|lodash-es|react-select|react-dates|d3|internmap|delaunator|robust-predicates))/',
|
|
90
91
|
],
|
|
91
92
|
globals: {
|
|
92
93
|
APP_CONFIG: getAppConfig(),
|
|
@@ -22,11 +22,15 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
22
22
|
mod
|
|
23
23
|
));
|
|
24
24
|
var import_runtime = require("regenerator-runtime/runtime");
|
|
25
|
+
var import_node_crypto = require("node:crypto");
|
|
25
26
|
var import_extend_expect = require("@testing-library/jest-dom/extend-expect");
|
|
26
27
|
var import_jest_axe = __toESM(require("jest-axe"), 1);
|
|
27
28
|
var import_resize_observer_polyfill = __toESM(require("resize-observer-polyfill"), 1);
|
|
28
29
|
var import_matchMedia = require("./mocks/matchMedia.js");
|
|
29
30
|
var import_pui_diagnostics = require("./mocks/pui-diagnostics.js");
|
|
31
|
+
Object.defineProperty(globalThis, "crypto", {
|
|
32
|
+
value: import_node_crypto.webcrypto
|
|
33
|
+
});
|
|
30
34
|
const originalError = console.error;
|
|
31
35
|
console.error = (...args) => {
|
|
32
36
|
const ignoreList = [
|
|
@@ -86,7 +86,8 @@ const jestConfig = {
|
|
|
86
86
|
'^.+\\.[jt]sx?$': ['@swc/jest', swcrcConfig],
|
|
87
87
|
},
|
|
88
88
|
transformIgnorePatterns: [
|
|
89
|
-
|
|
89
|
+
// eslint-disable-next-line prettier/prettier, no-useless-escape
|
|
90
|
+
'/node_modules/(?!(\@elliemae\/pui-cli|lodash-es|react-select|react-dates|d3|internmap|delaunator|robust-predicates))/',
|
|
90
91
|
],
|
|
91
92
|
globals: {
|
|
92
93
|
APP_CONFIG: getAppConfig(),
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import "regenerator-runtime/runtime";
|
|
2
|
+
import { webcrypto } from "node:crypto";
|
|
2
3
|
import "@testing-library/jest-dom/extend-expect";
|
|
3
4
|
import jestAxe from "jest-axe";
|
|
4
5
|
import ResizeObserver from "resize-observer-polyfill";
|
|
5
6
|
import { addMatchMedia } from "./mocks/matchMedia.js";
|
|
6
7
|
import { logger } from "./mocks/pui-diagnostics.js";
|
|
8
|
+
Object.defineProperty(globalThis, "crypto", {
|
|
9
|
+
value: webcrypto
|
|
10
|
+
});
|
|
7
11
|
const originalError = console.error;
|
|
8
12
|
console.error = (...args) => {
|
|
9
13
|
const ignoreList = [
|