You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/README.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ Status checkpoint (2025-09-21):
23
23
24
24
- Phases 1 and 2 completed. We added unit tests for API helpers (`checkDelay`, `answerNotifyApi`), `answerModuleApi` defaults and SHOW flow, and timer behavior for `delayedQuery`.
25
25
- Introduced shims for `logger` and `node_helper` so `node_helper.js` can be required in tests without MagicMirror runtime.
26
-
-One `answerGet` test is currently skipped due to tight coupling to MM core; plan is to re-cover at the API router level or further isolate dependencies.
26
+
-Phase 3 router-level GET coverage added; one direct `answerGet` unit test remains skipped and is deferred to a later phase once NodeHelper/MM core is further isolated.
27
27
28
28
## Test Roadmap (Phases)
29
29
@@ -33,12 +33,11 @@ The project follows an incremental test roadmap. Coverage thresholds start low a
33
33
- Lint, formatter, spellcheck wired; no runtime tests.
34
34
2. Phase 2 — Test runner & utilities (Done)
35
35
- Test runner configured, first unit tests added, coverage baseline established.
36
-
3. Phase 3 — More unit & first integration tests (In progress)
36
+
3. Phase 3 — More unit & first integration tests (Done)
37
37
- Extra edge cases for `cleanConfig` (Done)
38
-
- GET routes: `/get?data=moduleAvailable`, `/get?data=config`, error path (Pending)
39
-
- Note: One `answerGet` unit test is currently skipped; target to re-cover via API router tests or further isolation.
40
-
- Small express/test factory (mocks: fs, simple-git) (Pending)
0 commit comments