Updated test descriptions

This commit is contained in:
Sebastian Qvarfordt
2020-06-30 13:19:18 +02:00
parent 60cb8b0879
commit 3c8f32e45b
@@ -18,7 +18,7 @@ import { createTestShadowDom, getSample } from '../../test-utils';
import { rewriteDocLinks } from '../transformers';
describe('rewriteDocLinks', () => {
it('contains relative paths', () => {
it('should not do anything', () => {
const shadowDom = createTestShadowDom(`
<a href="http://example.org/">Test</a>
<a href="../example">Test</a>
@@ -34,7 +34,7 @@ describe('rewriteDocLinks', () => {
]);
});
it('contains transformed absolute paths', () => {
it('should transform a href with licalhost as baseUrl', () => {
const shadowDom = createTestShadowDom(
`
<a href="http://example.org/">Test</a>