diff options
author | Vitaly Takmazov | 2024-10-30 12:37:09 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2024-10-30 12:38:31 +0300 |
commit | 6118840a4af6b4e7120754555c01b8d41436625b (patch) | |
tree | 7f921a20a479e852e9d17ee6f6d957fbb08ac737 /vnext/server | |
parent | 27cc7b006ac91be9dc883adaf7ea27c46d511df9 (diff) |
Fix test environments
Diffstat (limited to 'vnext/server')
-rw-r--r-- | vnext/server/middleware/android.spec.js | 4 | ||||
-rw-r--r-- | vnext/server/middleware/mastodon.spec.js | 4 | ||||
-rw-r--r-- | vnext/server/middleware/webfinger.spec.js | 4 |
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' |