Merge pull request #31725 from woocommerce/fix/31713

fix environment dependencies
This commit is contained in:
Jamel Noel Reid 2022-01-25 14:37:47 -05:00 committed by GitHub
commit df2b50cdb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 1 deletions

View File

@ -9,8 +9,8 @@ const {
uiUnblocked,
evalAndClick,
clickUpdateOrder,
waitForSelector,
} = require( '@woocommerce/e2e-utils' );
const { waitForSelector } = require( '@woocommerce/e2e-environment' );
/**
* Evaluate and click a button selector then wait for a result selector.

View File

@ -26,6 +26,7 @@
- Updated the browserViewport in `jest.setup.js` to match the `defaultViewport` dimensions defined in `jest-puppeteer.config.js`
- Use consistent `defaultViewport` in both headless and non-headless context
- Add missing `config` dependency
# 0.2.3

View File

@ -29,6 +29,7 @@
"@wordpress/jest-preset-default": "^7.1.3",
"app-root-path": "^3.0.0",
"commander": "4.1.1",
"config": "3.3.3",
"jest": "^25.1.0",
"jest-circus": "25.1.0",
"jest-each": "25.5.0",

View File

@ -155,6 +155,7 @@ importers:
'@wordpress/jest-preset-default': ^7.1.3
app-root-path: ^3.0.0
commander: 4.1.1
config: 3.3.3
eslint: ^8.1.0
jest: ^25.1.0
jest-circus: 25.1.0
@ -175,6 +176,7 @@ importers:
'@wordpress/jest-preset-default': 7.1.3_@babel+core@7.12.9+jest@25.5.4
app-root-path: 3.0.0
commander: 4.1.1
config: 3.3.3
jest: 25.5.4
jest-circus: 25.1.0
jest-each: 25.5.0