aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/mock-servers/mock-email.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-08-27 14:32:44 +0200
committerChocobozzz <me@florianbigard.com>2021-08-27 15:12:22 +0200
commit41fb13c330de629df2d23379209e79c7af0f2e9a (patch)
tree73bc5a90566406b3910f142beae2a879c1e4265d /shared/extra-utils/mock-servers/mock-email.ts
parent40e7ed0714f96c01e16de3ac971a4b28116294e1 (diff)
downloadPeerTube-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.ts3
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 @@
1import { ChildProcess } from 'child_process' 1import { ChildProcess } from 'child_process'
2import MailDev from 'maildev'
2import { randomInt } from '@shared/core-utils' 3import { randomInt } from '@shared/core-utils'
3import { parallelTests } from '../miscs' 4import { parallelTests } from '../miscs'
4 5
5const MailDev = require('maildev')
6
7class MockSmtpServer { 6class MockSmtpServer {
8 7
9 private static instance: MockSmtpServer 8 private static instance: MockSmtpServer