Add truthy falsy example - #3467
Open
Romie321 wants to merge 16 commits into
Open
Conversation
Added type definitions for Node.js to the TypeScript configuration.
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
force-pushed
the
add-truthy-falsy-example
branch
from
August 3, 2026 04:07
0ed249f to
61c77fc
Compare
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! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.