19 lines
403 B
TypeScript
19 lines
403 B
TypeScript
const foo = require("./tmp/user1-accesstoken.json");
|
|
|
|
module.exports = {
|
|
transform: {
|
|
"^.+\\.(t|j)sx?$": "@swc/jest",
|
|
},
|
|
testEnvironment: "jsdom",
|
|
setupFiles: ["./setupJest.js"],
|
|
collectCoverage: true,
|
|
coveragePathIgnorePatterns: [
|
|
"/node_modules/",
|
|
"setupTests.ts",
|
|
"setUpTests.ts",
|
|
"setUpTests.js",
|
|
],
|
|
testEnvironmentOptions: {
|
|
url: foo["forgejo_url"],
|
|
},
|
|
};
|