use require instead of import for faker

This commit is contained in:
Ron Rennick 2021-03-26 11:23:28 -03:00
parent 4f6c0ee13e
commit fd77beb9af
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
import { SimpleProduct } from '@woocommerce/api'; import { SimpleProduct } from '@woocommerce/api';
import faker from 'faker/locale/en'; const faker = require( 'faker/locale/en' );
import { Factory } from 'fishery'; import { Factory } from 'fishery';
/** /**