diff --git a/jest.config.ts b/jest.config.ts index c3ab228..fa9e9c6 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -1,3 +1,5 @@ +const foo = require("./tmp/user1-accesstoken.json"); + module.exports = { transform: { "^.+\\.(t|j)sx?$": "@swc/jest", @@ -11,4 +13,7 @@ module.exports = { "setUpTests.ts", "setUpTests.js", ], + testEnvironmentOptions: { + url: foo["forgejo_url"], + }, };