update imports to ES6 format, pnpm-lock.yaml

This commit is contained in:
Ron Rennick 2021-11-30 15:16:51 -04:00
parent 53402656a0
commit dd7eae42d1
4 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ const {
describe, describe,
beforeAll, beforeAll,
} = require( '@jest/globals' ); } = require( '@jest/globals' );
const deprecated = require( '@wordpress/deprecated' ); import deprecated from '@wordpress/deprecated';
const runActivationTest = () => { const runActivationTest = () => {
describe('Store owner can login and make sure WooCommerce is activated', () => { describe('Store owner can login and make sure WooCommerce is activated', () => {

View File

@ -13,7 +13,7 @@ const {
* External dependencies * External dependencies
*/ */
const config = require( 'config' ); const config = require( 'config' );
const deprecated = require( '@wordpress/deprecated' ); import deprecated from '@wordpress/deprecated';
const { const {
it, it,
describe, describe,

View File

@ -6,7 +6,7 @@ const {
it, it,
describe, describe,
} = require( '@jest/globals' ); } = require( '@jest/globals' );
const deprecated = require( '@wordpress/deprecated' ); import deprecated from '@wordpress/deprecated';
/** /**
* Internal dependencies * Internal dependencies

View File

@ -15,7 +15,7 @@ const {
describe, describe,
beforeAll, beforeAll,
} = require( '@jest/globals' ); } = require( '@jest/globals' );
const deprecated = require( '@wordpress/deprecated' ); import deprecated from '@wordpress/deprecated';
/** /**
* Quick check for page title and no data message. * Quick check for page title and no data message.