From 6118840a4af6b4e7120754555c01b8d41436625b Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 30 Oct 2024 12:37:09 +0300 Subject: Fix test environments --- vnext/server/middleware/android.spec.js | 4 ++++ vnext/server/middleware/mastodon.spec.js | 4 ++++ vnext/server/middleware/webfinger.spec.js | 4 ++++ 3 files changed, 12 insertions(+) (limited to 'vnext/server') diff --git a/vnext/server/middleware/android.spec.js b/vnext/server/middleware/android.spec.js index 19d380d7..f5b9792a 100644 --- a/vnext/server/middleware/android.spec.js +++ b/vnext/server/middleware/android.spec.js @@ -1,3 +1,7 @@ +/** + * @jest-environment node + */ + import request from 'supertest' import { app } from '../app' diff --git a/vnext/server/middleware/mastodon.spec.js b/vnext/server/middleware/mastodon.spec.js index 561303bc..7f30d027 100644 --- a/vnext/server/middleware/mastodon.spec.js +++ b/vnext/server/middleware/mastodon.spec.js @@ -1,3 +1,7 @@ +/** + * @jest-environment node + */ + import request from 'supertest' import { app } from '../app' diff --git a/vnext/server/middleware/webfinger.spec.js b/vnext/server/middleware/webfinger.spec.js index d1b198e6..c36c4571 100644 --- a/vnext/server/middleware/webfinger.spec.js +++ b/vnext/server/middleware/webfinger.spec.js @@ -1,3 +1,7 @@ +/** + * @jest-environment node + */ + import request from 'supertest' import { app } from '../app' -- cgit v1.2.3