fastify-cli
fastify-cli copied to clipboard
test: migrated start.test.js from tap to node:test
Checklist
- [ ] run
npm run testandnpm run benchmark - [ ] tests and/or benchmarks are included
- [ ] documentation is changed or added
- [x] commit message and code follows the Developer's Certification of Origin and the Code of conduct
Proposal:
- migrated
start.test.jsfromtaptonode: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.