mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2026-02-06 18:56:48 +00:00
- Add max_length=100 on BulkStatusRequest.room_names to prevent abuse - Filter bulk endpoint results to rooms user can see (owned or shared) - Throw on bulk-status fetch error instead of silently returning empty data - Fix room_by_id type annotation: dict[str, DbRoom] instead of Any - Remove stale "200ms" comment in test - Enable strict: true in jest tsconfig - Remove working docs from tracked files - Simplify redundant ternary in test helper
23 lines
549 B
JavaScript
23 lines
549 B
JavaScript
module.exports = {
|
|
testEnvironment: "jest-environment-jsdom",
|
|
roots: ["<rootDir>/app"],
|
|
testMatch: ["**/__tests__/**/*.test.ts", "**/__tests__/**/*.test.tsx"],
|
|
collectCoverage: false,
|
|
transform: {
|
|
"^.+\\.[jt]sx?$": [
|
|
"ts-jest",
|
|
{
|
|
tsconfig: {
|
|
jsx: "react-jsx",
|
|
module: "esnext",
|
|
moduleResolution: "bundler",
|
|
esModuleInterop: true,
|
|
strict: true,
|
|
downlevelIteration: true,
|
|
lib: ["dom", "dom.iterable", "esnext"],
|
|
},
|
|
},
|
|
],
|
|
},
|
|
};
|