@elliemae/pui-cli 8.17.0-alpha.3 → 8.17.0-alpha.4
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,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const { TestEnvironment } = require('jest-environment-jsdom');
|
|
2
2
|
|
|
3
3
|
// ICE platform is meant to be run on node > 18
|
|
4
4
|
// "jest-environment-jsdom": "~29.6.3" is instead meant to support node >16
|
|
@@ -14,7 +14,7 @@ const JSDOMEnvironment = require('jest-environment-jsdom');
|
|
|
14
14
|
// that actually uses node 18 features that are not supported in "jest-environment-jsdom": "~29.6.3"
|
|
15
15
|
|
|
16
16
|
// https://github.com/facebook/jest/blob/v29.4.3/website/versioned_docs/version-29.4/Configuration.md#testenvironment-string
|
|
17
|
-
class FixJSDOMEnvironment extends
|
|
17
|
+
class FixJSDOMEnvironment extends TestEnvironment {
|
|
18
18
|
constructor(...args) {
|
|
19
19
|
super(...args);
|
|
20
20
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const { TestEnvironment } = require('jest-environment-jsdom');
|
|
2
2
|
|
|
3
3
|
// ICE platform is meant to be run on node > 18
|
|
4
4
|
// "jest-environment-jsdom": "~29.6.3" is instead meant to support node >16
|
|
@@ -14,7 +14,7 @@ const JSDOMEnvironment = require('jest-environment-jsdom');
|
|
|
14
14
|
// that actually uses node 18 features that are not supported in "jest-environment-jsdom": "~29.6.3"
|
|
15
15
|
|
|
16
16
|
// https://github.com/facebook/jest/blob/v29.4.3/website/versioned_docs/version-29.4/Configuration.md#testenvironment-string
|
|
17
|
-
class FixJSDOMEnvironment extends
|
|
17
|
+
class FixJSDOMEnvironment extends TestEnvironment {
|
|
18
18
|
constructor(...args) {
|
|
19
19
|
super(...args);
|
|
20
20
|
|
|
File without changes
|