Add missing jest/global
This commit is contained in:
parent
7a1ba36fc9
commit
4fed8f8dab
|
@ -13,6 +13,15 @@ const {
|
|||
selectOptionInSelect2,
|
||||
} = require( '@woocommerce/e2e-utils' );
|
||||
|
||||
/**
|
||||
* External dependencies
|
||||
*/
|
||||
const {
|
||||
it,
|
||||
describe,
|
||||
beforeAll,
|
||||
} = require( '@jest/globals' );
|
||||
|
||||
const config = require( 'config' );
|
||||
const firstProductPrice = config.has( 'products.simple.price' ) ? config.get( 'products.simple.price' ) : '9.99';
|
||||
const secondProductPrice = '4.99';
|
||||
|
|
|
@ -544,6 +544,7 @@ const deleteAllEmailLogs = async () => {
|
|||
*/
|
||||
const deleteAllShippingZones = async () => {
|
||||
await merchant.openSettings('shipping');
|
||||
|
||||
// Delete existing shipping zones.
|
||||
try {
|
||||
let zone = await page.$( '.wc-shipping-zone-delete' );
|
||||
|
|
Loading…
Reference in New Issue