Skip to content

Conversation

@Tony133
Copy link
Contributor

@Tony133 Tony133 commented Jun 7, 2025

Checklist

Proposal:

  • migrated start.test.js from tap to node:test 🔥

Note:

Added the createTestDir function to replace .testdir(), because node:test does not have a method is built-in similar to the testdir() method of tap.

@Tony133 Tony133 force-pushed the test/migrated-start-test branch from 26eb0da to baa3f0e Compare June 22, 2025 14:07
@Tony133
Copy link
Contributor Author

Tony133 commented Aug 23, 2025

In the CI environment, it is unable to skip three tests, very strange 🤔
skip-test

const semver = require('semver')
const baseFilename = path.join(__dirname, 'fixtures', `test_${crypto.randomBytes(16).toString('hex')}`)
const { fork } = require('node:child_process')
const moduleSupport = semver.satisfies(process.version, '>= 14 || >= 12.17.0 < 13.0.0')
Copy link
Contributor

Choose a reason for hiding this comment

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

considering that node >= 20 (the minimum one supported by fastify nowadays) supports module for sure, are we okay with keeping the skip configuration and its tests?
I would probably get rid of those, considering that this value will always be true now

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