Skip to content

Commit

Permalink
fix: export seeder entity
Browse files Browse the repository at this point in the history
  • Loading branch information
tada5hi committed Jul 27, 2023
1 parent f3aab43 commit 4f728fd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/seeder/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export * from './entity';
export * from './executor';
export * from './factory';
export * from './module';
Expand Down
10 changes: 7 additions & 3 deletions test/unit/seeder/seeder.spec.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down

0 comments on commit 4f728fd

Please sign in to comment.