2023-09-19 01:34:31 +05:30
|
|
|
const foo = require("./tmp/user1-accesstoken.json");
|
|
|
|
|
2023-09-18 17:56:31 +05:30
|
|
|
module.exports = {
|
|
|
|
transform: {
|
|
|
|
"^.+\\.(t|j)sx?$": "@swc/jest",
|
|
|
|
},
|
2023-09-18 19:05:53 +05:30
|
|
|
testEnvironment: "jsdom",
|
|
|
|
setupFiles: ["./setupJest.js"],
|
2023-09-18 20:27:55 +05:30
|
|
|
collectCoverage: true,
|
|
|
|
coveragePathIgnorePatterns: [
|
|
|
|
"/node_modules/",
|
|
|
|
"setupTests.ts",
|
|
|
|
"setUpTests.ts",
|
|
|
|
"setUpTests.js",
|
|
|
|
],
|
2023-09-19 01:34:31 +05:30
|
|
|
testEnvironmentOptions: {
|
|
|
|
url: foo["forgejo_url"],
|
|
|
|
},
|
2023-09-18 17:56:31 +05:30
|
|
|
};
|