Skip to content

Commit

Permalink
test(tsdocs): update package list table snapshot
Browse files Browse the repository at this point in the history
see: microsoft/rushstack#4578
Signed-off-by: Rifa Achrinza <[email protected]>
  • Loading branch information
achrinza committed Nov 14, 2024
1 parent e223a08 commit f0f0009
Showing 1 changed file with 31 additions and 5 deletions.
36 changes: 31 additions & 5 deletions packages/tsdocs/src/__tests__/acceptance/tsdocs.acceptance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,37 @@ permalink: /doc/en/lb4/apidocs.index.html
expect(index).to.containEql('## Packages');

expect(index).to.containEql(`
| Package | Description |
| --- | --- |
| [pkg1](./pkg1.md) | |
| [pkg2](./pkg2.md) | |
`);
<table><thead><tr><th>
Package
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[pkg1](./pkg1.md)
</td><td>
</td></tr>
<tr><td>
[pkg2](./pkg2.md)
</td><td>
</td></tr>
</tbody></table>`);

const constructorDoc = await fs.readFile(
path.join(SITE_APIDOCS_ROOT, 'pkg1.pet._constructor_.md'),
Expand Down

0 comments on commit f0f0009

Please sign in to comment.