Skip to content

feat: node test runner#208

Merged
simoneb merged 4 commits intonearform:masterfrom
ilteoood:feat/node-test-runner
Nov 9, 2024
Merged

feat: node test runner#208
simoneb merged 4 commits intonearform:masterfrom
ilteoood:feat/node-test-runner

Conversation

@ilteoood
Copy link
Contributor

@ilteoood ilteoood commented Nov 8, 2024

No description provided.

@github-actions
Copy link

github-actions bot commented Nov 8, 2024

No linked issues found. Please add the corresponding issues in the pull request description.
Use GitHub automation to close the issue when a PR is merged

t.equal(sql.sql, 'INSERT INTO users (id) VALUES (?,?,?)')
t.equal(sql.debug, 'INSERT INTO users (id) VALUES (1,2,3)')
t.same(sql.values, [1, 2, 3])
assert.equal(sql.text, 'INSERT INTO users (id) VALUES ($1,$2,$3)')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not the assertions that come on the test context t?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To still support node 18.
Assertion with test context is a node 20 feature.
If that's ok for you to drop also node 18 I can change it

@ilteoood ilteoood requested a review from simoneb November 9, 2024 10:29
@simoneb simoneb merged commit 1453a1a into nearform:master Nov 9, 2024
@github-actions github-actions bot mentioned this pull request Nov 10, 2024
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