Replies: 1 comment 2 replies
-
Hey, that is kind of strange. Do you have the same data-source configuration when running in production/development ? match("src/database/seeds/abc.ts", "src/database/seeds/**/*{.ts,.js}") <--- true
match("src/database/seeds/abc.ts", "src/database/seeds/*/**{.ts,.js}") <-- false
match("src/database/seeds/subdirectory/abc.ts", "src/database/seeds/**/*{.ts,.js}") <--- true
match("src/database/seeds/subdirectory/abc.ts", "src/database/seeds/*/**{.ts,.js}") <--- true |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I am trying to set up Jest with typeorm-extension and I'm unable to seed the createdDB. I'm not using the factories currently for the seeds but when I run it on production and development environment, the seeds run fine with the same code but not with Jest. The only change I have is the
createDatabase
function but that does its job well in relation to creating a database instance with the given options. Here is the following code for your reference:Beta Was this translation helpful? Give feedback.
All reactions