diff options
author | Chocobozzz <me@florianbigard.com> | 2021-08-27 14:32:44 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-08-27 15:12:22 +0200 |
commit | 41fb13c330de629df2d23379209e79c7af0f2e9a (patch) | |
tree | 73bc5a90566406b3910f142beae2a879c1e4265d /shared/extra-utils/mock-servers/mock-email.ts | |
parent | 40e7ed0714f96c01e16de3ac971a4b28116294e1 (diff) | |
download | PeerTube-41fb13c330de629df2d23379209e79c7af0f2e9a.tar.gz PeerTube-41fb13c330de629df2d23379209e79c7af0f2e9a.tar.zst PeerTube-41fb13c330de629df2d23379209e79c7af0f2e9a.zip |
esModuleInterop to true
Diffstat (limited to 'shared/extra-utils/mock-servers/mock-email.ts')
-rw-r--r-- | shared/extra-utils/mock-servers/mock-email.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/shared/extra-utils/mock-servers/mock-email.ts b/shared/extra-utils/mock-servers/mock-email.ts index ffd62e325..c13d3dc0f 100644 --- a/shared/extra-utils/mock-servers/mock-email.ts +++ b/shared/extra-utils/mock-servers/mock-email.ts | |||
@@ -1,9 +1,8 @@ | |||
1 | import { ChildProcess } from 'child_process' | 1 | import { ChildProcess } from 'child_process' |
2 | import MailDev from 'maildev' | ||
2 | import { randomInt } from '@shared/core-utils' | 3 | import { randomInt } from '@shared/core-utils' |
3 | import { parallelTests } from '../miscs' | 4 | import { parallelTests } from '../miscs' |
4 | 5 | ||
5 | const MailDev = require('maildev') | ||
6 | |||
7 | class MockSmtpServer { | 6 | class MockSmtpServer { |
8 | 7 | ||
9 | private static instance: MockSmtpServer | 8 | private static instance: MockSmtpServer |