nodejs / api-docs-tooling

Node.js's tooling for API generation
https://nodejs.org/api
MIT License
5 stars 5 forks source link

fix(tests): fix some tests that got out of sync with the code #77

Closed flakey5 closed 3 months ago

flakey5 commented 3 months ago

Description

Tests in main are broken, this pr aims to fix them. The most prominent issues were with type mismatches, presumably from when we switched to unist.

I used the code as the source of truth since the changes to the responses were intentional from what I can tell

ovflowd commented 3 months ago

We should eventually start using snapshots!