Skip to content

Conversation

@Uzlopak
Copy link
Contributor

@Uzlopak Uzlopak commented Sep 24, 2025

A small batch of test/node-test/ test files

This relates to...

Rationale

Changes

Features

Bug Fixes

Breaking Changes and Deprecations

Status

@Uzlopak Uzlopak requested a review from Copilot September 24, 2025 07:42
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request refactors test files in the test/node-test/ directory to use Node.js's native testcontext instead of the external tspl library, representing the first batch of conversions.

  • Migration from @matteo.collina/tspl to Node.js native test context and assertions
  • Restructuring tests to use describe/beforeEach/afterEach patterns where applicable
  • Switching from external assert module to test context assertions

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
test/node-test/validations.js Converts from single test with tspl to describe block with individual tests using test context
test/node-test/util.js Replaces assert module with test context assertions
test/node-test/unix.js Migrates from tspl to test context with proper server cleanup
test/node-test/tree.js Removes assert module dependency in favor of test context
test/node-test/large-body.js Simple migration from assert module to test context
test/node-test/debug.js Converts from tspl async pattern to callback-based test context

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

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