diff --git a/src/seeder/index.ts b/src/seeder/index.ts index 4e9002ae..f268872a 100644 --- a/src/seeder/index.ts +++ b/src/seeder/index.ts @@ -1,3 +1,4 @@ +export * from './entity'; export * from './executor'; export * from './factory'; export * from './module'; diff --git a/test/unit/seeder/seeder.spec.ts b/test/unit/seeder/seeder.spec.ts index 147684a1..edaf4ffb 100644 --- a/test/unit/seeder/seeder.spec.ts +++ b/test/unit/seeder/seeder.spec.ts @@ -1,6 +1,10 @@ -import { runSeeder, runSeeders, useDataSource } from '../../../src'; -import type { SeederEntity } from '../../../src/seeder/entity'; -import { SeederExecutor } from '../../../src/seeder/executor'; +import { + SeederExecutor, + runSeeder, + runSeeders, + useDataSource, +} from '../../../src'; +import type { SeederEntity } from '../../../src'; import { User } from '../../data/entity/user'; import { destroyTestDatabase, setupTestDatabase } from '../../data/typeorm/utils'; import '../../data/factory/user';