use require instead of import for faker
This commit is contained in:
parent
4f6c0ee13e
commit
fd77beb9af
|
@ -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';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue