use require in core test
This commit is contained in:
parent
8efbd3cbf5
commit
4f6c0ee13e
|
@ -1,5 +1,10 @@
|
|||
# Unreleased
|
||||
|
||||
# 0.1.3
|
||||
|
||||
## Fixed
|
||||
|
||||
- removed use of ES6 `import`
|
||||
|
||||
# 0.1.2
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@woocommerce/e2e-core-tests",
|
||||
"version": "0.1.2",
|
||||
"version": "0.1.3",
|
||||
"description": "End-To-End (E2E) tests for WooCommerce",
|
||||
"homepage": "https://github.com/woocommerce/woocommerce/tree/trunk/tests/e2e/core-tests/README.md",
|
||||
"repository": {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* eslint-disable jest/no-export, jest/no-disabled-tests, jest/no-standalone-expect */
|
||||
import {createSimpleProduct} from "@woocommerce/e2e-utils";
|
||||
const { createSimpleProduct } = require( '@woocommerce/e2e-utils' );
|
||||
|
||||
/**
|
||||
* Internal dependencies
|
||||
|
|
Loading…
Reference in New Issue