Skip to content

Commit

Permalink
fix: flush stdmock after tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jan 16, 2018
1 parent 80be0df commit 6384b05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ function hooks(options: Options) {
mocks.forEach(([object, path, , original]) => _.set(object, path, original))
process.env = env
stdMocks.restore()
stdMocks.flush()
},
}
}
Expand Down

0 comments on commit 6384b05

Please sign in to comment.