Skip to content

Add truthy falsy example - #3467

Open
Romie321 wants to merge 16 commits into
avajs:mainfrom
Romie321:add-truthy-falsy-example
Open

Add truthy falsy example#3467
Romie321 wants to merge 16 commits into
avajs:mainfrom
Romie321:add-truthy-falsy-example

Conversation

@Romie321

Copy link
Copy Markdown

This PR adds a small beginner-friendly example demonstrating AVA’s t.truthy() and t.falsy() assertions. The example shows how to check whether values are considered truthy or falsy in JavaScript, helping new users understand AVA’s assertion helpers.

@Romie321

Copy link
Copy Markdown
Author

Two CI jobs failed on Node 22 and Node 26. This example doesn’t touch AVA internals, so the failures appear unrelated. Let me know if anything needs to be adjusted.

@Romie321
Romie321 force-pushed the add-truthy-falsy-example branch from 0ed249f to 61c77fc Compare August 3, 2026 04:07
@Romie321

Romie321 commented Aug 3, 2026

Copy link
Copy Markdown
Author

The code is done and passing on stable Node versions, but the snapshot check fails on the experimental Node v26 Linux runner. Since I am on windows and cannot replicate that environment locally to update the baseline, could a maintainer please run the snapshot update on review? Thanks!

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