Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e65d87bb96 |
@@ -799,9 +799,11 @@ documents:
|
||||
- **Formatting:** prettier with 4-space indents and `proseWrap: always` for
|
||||
markdown. Use `make fmt` to format. Use `yarn` not `npm`.
|
||||
|
||||
- **Testing:** vitest. Tests go in `test/` mirroring the `src/` structure. The
|
||||
`test` phase of the `Dockerfile` stops the suite after 90 seconds. Use
|
||||
`mkdtempSync` for temporary directories, never manual timestamp paths.
|
||||
- **Testing:** vitest. Tests go in `test/` mirroring the `src/` structure.
|
||||
`make test` must finish in under 60 seconds (the hard cap) and should finish
|
||||
in under 20. The 90-second `timeout` in the `test` phase of the `Dockerfile`
|
||||
is a backstop that catches a hung test, not the time limit. Use `mkdtempSync`
|
||||
for temporary directories, never manual timestamp paths.
|
||||
|
||||
- **Code style:** `const` for everything, `let` if reassignment is needed, never
|
||||
`var`. Avoid unnecessary comments. No hand-rolled crypto. The
|
||||
|
||||
@@ -26,9 +26,10 @@ declares one.
|
||||
- 2026-09-23: Brought the README and this file in line with the tree (issue
|
||||
111). The layout lists `src/library/` and the other source files, the backup
|
||||
layout names `failures.json` and the optional `thumbnails/`, "Opening a
|
||||
library" says what happens when the first refresh fails, the test time limit
|
||||
is the 90 seconds the `Dockerfile` sets, and "Tag v1.0.0" is no longer listed
|
||||
as the next step.
|
||||
library" says what happens when the first refresh fails, the Testing section
|
||||
gives the 60-second hard cap and 20-second target for `make test` and names
|
||||
the 90-second `timeout` in the `Dockerfile` as the backstop for a hung test,
|
||||
and "Tag v1.0.0" is no longer listed as the next step.
|
||||
|
||||
- 2026-09-23: Tested `quak login` and `backup-metadata --exif` (issue 110).
|
||||
`loginCommand` takes its login function and its prompts from `CliContext`, and
|
||||
|
||||
Reference in New Issue
Block a user