Skip to content

The explain tests expect the questions of a drop, as record 0344 says - #132

Merged
Mtze merged 1 commit into
mainfrom
fix-explain-questions-test
Nov 29, 2026
Merged

Mtze merged 1 commit into
mainfrom
fix-explain-questions-test

Conversation

@Mtze

@Mtze Mtze commented Nov 29, 2026

Copy link
Copy Markdown
Member

Why

The `dashboard` check fails on `main` since #126, and with it on every pull request that merges main. Three tests in `dashboard/scripts/explain-sources.test.mjs` still expected the answers from before the questions.

What

The code is right, the tests were stale. `docs/adr/0344` says the dashboard asks for questions on a drop and on a notice, also when a box without sources falls back to the short line.

  • The two client tests expect `questions: []`, since the client helper always returns the list.
  • The short-line test expects the three questions on the drop and none on the tour line. Before, it asserted that both answers are equal.

Only the test file changes.

Checked

`pnpm test` and `pnpm lint` pass locally in `dashboard/`.

🤖 Generated with Claude Code

A drop or a notice carries the questions the reader may ask next, also when
a box without sources falls back to the short line. The tour line has none.
The three assertions still expected the answers from before the questions.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@Mtze
Mtze merged commit 42ce420 into main Nov 29, 2026
3 checks passed
@Mtze
Mtze deleted the fix-explain-questions-test branch November 29, 2026 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant