aboutsummaryrefslogtreecommitdiff
path: root/vnext
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2024-10-30 12:37:09 +0300
committerGravatar Vitaly Takmazov2024-10-30 12:38:31 +0300
commit6118840a4af6b4e7120754555c01b8d41436625b (patch)
tree7f921a20a479e852e9d17ee6f6d957fbb08ac737 /vnext
parent27cc7b006ac91be9dc883adaf7ea27c46d511df9 (diff)
Fix test environments
Diffstat (limited to 'vnext')
-rw-r--r--vnext/server/middleware/android.spec.js4
-rw-r--r--vnext/server/middleware/mastodon.spec.js4
-rw-r--r--vnext/server/middleware/webfinger.spec.js4
3 files changed, 12 insertions, 0 deletions
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'