Skip to content

Commit e1a8f15

Browse files
committed
fix: fix test in tsdocs
Signed-off-by: dhmlau <dhmlau@ca.ibm.com>
1 parent 8adb0fe commit e1a8f15

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

packages/tsdocs/src/__tests__/acceptance/tsdocs.acceptance.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -151,12 +151,8 @@ permalink: /doc/en/lb4/apidocs.index.html
151151
expect(index).to.containEql('[Home](./index.md)');
152152
expect(index).to.containEql('## Packages');
153153

154-
expect(index).to.containEql(`
155-
| Package | Description |
156-
| --- | --- |
157-
| [pkg1](./pkg1.md) | |
158-
| [pkg2](./pkg2.md) | |
159-
`);
154+
expect(index).to.containEql('[pkg1](./pkg1.md)');
155+
expect(index).to.containEql('[pkg2](./pkg2.md)');
160156

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

0 commit comments

Comments
 (0)