From 8d1f78044ca6eb9995001d3ab83be62460e043a6 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 27 Feb 2023 13:53:54 +0100 Subject: Add ability to disable http duration OTEL metrics --- server/tests/api/check-params/users-emails.ts | 3 --- 1 file changed, 3 deletions(-) (limited to 'server/tests/api/check-params/users-emails.ts') diff --git a/server/tests/api/check-params/users-emails.ts b/server/tests/api/check-params/users-emails.ts index 8cfb1d15f..6ebcc8ffe 100644 --- a/server/tests/api/check-params/users-emails.ts +++ b/server/tests/api/check-params/users-emails.ts @@ -1,5 +1,4 @@ /* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */ -import { MockSmtpServer } from '@server/tests/shared' import { HttpStatusCode, UserRole } from '@shared/models' import { cleanupTests, createSingleServer, makePostBodyRequest, PeerTubeServer, setAccessTokensToServers } from '@shared/server-commands' @@ -112,8 +111,6 @@ describe('Test users API validators', function () { }) after(async function () { - MockSmtpServer.Instance.kill() - await cleanupTests([ server ]) }) }) -- cgit v1.2.3