Skip to content

Commit

Permalink
formating
Browse files Browse the repository at this point in the history
  • Loading branch information
gg187on committed Dec 6, 2021
1 parent ad3dc54 commit 0d5bfd9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/kit/src/core/adapt/prerender.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { test } from 'uvu';
import * as assert from 'uvu/assert';
import { get_href, is_rel_external /*, get_tag */} from './prerender.js';
import { get_href, is_rel_external /*, get_tag */ } from './prerender.js';

test('get_href', () => {
assert.equal(get_href('href="/foo" target=""'), '/foo');
Expand All @@ -15,6 +15,7 @@ test('get_href', () => {
);
/**
* @TODO solve this case
* is solved by PR: https://github.com/sveltejs/kit/pull/2923 (instead of regex, it use parse5)
*/
// assert.equal(get_tag('<a href="foo>bar">'), '<a href="foo>bar">');
});
Expand Down

0 comments on commit 0d5bfd9

Please sign in to comment.