Skip to content

Commit b021711

Browse files
author
Julien Heller
authored
Merge pull request #85 from EOSIO/fix-massive-export
Fix export of massive
2 parents 45adc85 + 5662b03 commit b021711

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/MassiveActionHandler.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ describe('TestMassiveActionHandler', () => {
8282
})
8383

8484
afterAll(async (done) => {
85+
await massiveInstance.pgp.end()
8586
await dockerUtils.removePostgresContainer(docker, postgresContainerName)
8687
done()
8788
})

src/MigrationRunner.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ describe('Database setup', () => {
7373
})
7474

7575
afterAll(async (done) => {
76+
await massiveInstance.pgp.end()
7677
await dockerUtils.removePostgresContainer(docker, containerName)
7778
done()
7879
})

src/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
declare function require(name: string): any
2-
import massive = require('massive')
3-
export { massive }
41
export { MassiveActionHandler } from './MassiveActionHandler'
52
export { Migration } from './Migration'
63
export { MigrationRunner } from './MigrationRunner'
74
export { MigrationSequence, MassiveActionHandlerOptions } from './interfaces'
5+
import massive from 'massive'; export { massive }

0 commit comments

Comments
 (0)