diff --git a/src/index.js b/src/index.js index 3eff001..3ee4777 100644 --- a/src/index.js +++ b/src/index.js @@ -94,6 +94,8 @@ export default function consoleLogServer (opts) { ) if (opts.mockDate !== undefined) { MockDate.set(opts.mockDate) + } else { + MockDate.reset() } const cnsl = opts.console opts.responseHeader = opts.responseHeader && _.castArray(opts.responseHeader)