From b2ff69e2d30788122ffc77218787491f8b3a2e7b Mon Sep 17 00:00:00 2001 From: Emma Indal Date: Wed, 1 Jul 2020 10:01:57 +0200 Subject: [PATCH] fix(transformer): add trailing slash to test output --- .../src/reader/transformers/rewriteDocLinks.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/techdocs/src/reader/transformers/rewriteDocLinks.test.ts b/plugins/techdocs/src/reader/transformers/rewriteDocLinks.test.ts index a064511fd0..b4ceab0b38 100644 --- a/plugins/techdocs/src/reader/transformers/rewriteDocLinks.test.ts +++ b/plugins/techdocs/src/reader/transformers/rewriteDocLinks.test.ts @@ -49,9 +49,9 @@ describe('rewriteDocLinks', () => { expect(getSample(shadowDom, 'a', 'href', 6)).toEqual([ 'http://example.org/', - 'http://localhost/example', - 'http://localhost/example-docs', - 'http://localhost/example-docs/example-page', + 'http://localhost/example/', + 'http://localhost/example-docs/', + 'http://localhost/example-docs/example-page/', ]); }); });