BlueGit

timfa filemanager

Files

filemanager / .github / tests.md

tests.md

tests.md 984 B Download Raw

Test Index

> Auto-generated by scripts/generate-tests-md.js. Do not edit by hand. > Run node scripts/generate-tests-md.js to regenerate.

---

test/admin.routes.test.js

  • GET /api/admin/users
  • POST /api/admin/users
  • PATCH /api/admin/users/:id
  • DELETE /api/admin/users/:id
  • GET /api/admin/config
  • PUT /api/admin/config

---

test/auth.routes.test.js

  • GET /api/auth/server-key
  • GET /api/auth/setup-needed
  • POST /api/auth/setup
  • POST /api/auth/login
  • session lifecycle / POST /api/auth/logout revokes active session
  • session lifecycle / session expires after 1 hour of inactivity

---

test/config.test.js

  • getEffectivePaths
  • getAllowedRoot

---

tests/files.routes.test.js

  • POST /api/files/move / moves a file into another folder and rewrites metadata
  • POST /api/files/move / moves a folder into another folder and rewrites descendant metadata
  • POST /api/files/move / rejects moving a folder into itself

---

Source
1# Test Index
2
3> Auto-generated by `scripts/generate-tests-md.js`. Do not edit by hand.
4> Run `node scripts/generate-tests-md.js` to regenerate.
5
6---
7
8## `test/admin.routes.test.js`
9- `GET /api/admin/users`
10- `POST /api/admin/users`
11- `PATCH /api/admin/users/:id`
12- `DELETE /api/admin/users/:id`
13- `GET /api/admin/config`
14- `PUT /api/admin/config`
15
16---
17
18## `test/auth.routes.test.js`
19- `GET /api/auth/server-key`
20- `GET /api/auth/setup-needed`
21- `POST /api/auth/setup`
22- `POST /api/auth/login`
23- `session lifecycle / POST /api/auth/logout revokes active session`
24- `session lifecycle / session expires after 1 hour of inactivity`
25
26---
27
28## `test/config.test.js`
29- `getEffectivePaths`
30- `getAllowedRoot`
31
32---
33
34## `tests/files.routes.test.js`
35- `POST /api/files/move / moves a file into another folder and rewrites metadata`
36- `POST /api/files/move / moves a folder into another folder and rewrites descendant metadata`
37- `POST /api/files/move / rejects moving a folder into itself`
38
39---