Hey there,
Thanks for the work on this package - looks great! 😁
Any chance you'd know why Jest is struggling to find the generated index.js? I get the following error:
ENOENT: no such file or directory, open '/{path to code}/node_modules/prisma-factory/dist/generated.js'
Example of my code:
import { createUserFactory } from 'prisma-factory/generated';
export const UserFactory = createUserFactory({
email: 'test@example.com',
password: '123',
verified: true,
});
I've checked that the generated code is there inside node_modules – not sure if this is an issue with my jest/typescript config or a package issue?
Thanks again
Hey there,
Thanks for the work on this package - looks great! 😁
Any chance you'd know why Jest is struggling to find the generated
index.js? I get the following error:ENOENT: no such file or directory, open '/{path to code}/node_modules/prisma-factory/dist/generated.js'Example of my code:
I've checked that the generated code is there inside
node_modules– not sure if this is an issue with my jest/typescript config or a package issue?Thanks again