Skip to content

Add tests for Space and Tab in the overview - #210

Merged
jzheaux merged 1 commit into
jzheaux:mainfrom
Ptraaah:test/168-overview-space-tab
Nov 3, 2026
Merged

jzheaux merged 1 commit into
jzheaux:mainfrom
Ptraaah:test/168-overview-space-tab

Conversation

@Ptraaah

@Ptraaah Ptraaah commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Two of the items from #168, the overview ones:

  • Space picks a slide in the overview, as Enter does
  • Tab is kept inside the overview while it's open

Both tests are in test/deck.test.js, next to the Enter test there and in its shape. Checked the way the issue asks: each new test fails when its line in static/overview.js is broken (Space dropped from the pick condition; Tab let fall through instead of kept), and passes with the lines as they stand.

node --test test/deck.test.js here: 27 pass, 0 fail. Run file by file, the rest of the suite passes as well; two files (cli and server) each showed a one-off failure under load in this environment and pass on their own. This change is tests only and touches neither.

The other items on #168 are untouched.

@jzheaux
jzheaux force-pushed the test/168-overview-space-tab branch from 329203c to 28eccce Compare November 3, 2026 05:47
@jzheaux
jzheaux force-pushed the test/168-overview-space-tab branch from 28eccce to dec0347 Compare November 3, 2026 06:02
@jzheaux jzheaux self-assigned this Nov 3, 2026
@jzheaux jzheaux added this to the 0.0.4 milestone Nov 3, 2026
@jzheaux
jzheaux merged commit d8598f8 into jzheaux:main Nov 3, 2026
2 checks passed
@jzheaux

jzheaux commented Nov 3, 2026

Copy link
Copy Markdown
Owner

Thanks, @Ptraaah! This is now merged into main and is scheduled for 0.0.4

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.

2 participants