We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
faker removed default export from v7.0.0 It's a breaking change, so the way of importing faker (https://github.com/zoubingwu/msw-auto-mock/blob/master/src/template.ts#L14) should be changed to import { faker } from '@faker-js/faker';. Otherwise it can't work with faker v7.
import { faker } from '@faker-js/faker';
The text was updated successfully, but these errors were encountered:
4a32fb6
@homerchen19 Thanks! fixed and published in 0.7.0
Sorry, something went wrong.
No branches or pull requests
faker removed default export from v7.0.0
It's a breaking change, so the way of importing faker (https://github.com/zoubingwu/msw-auto-mock/blob/master/src/template.ts#L14) should be changed to
import { faker } from '@faker-js/faker';
. Otherwise it can't work with faker v7.The text was updated successfully, but these errors were encountered: