Skip to content

Commit c2f5e05

Browse files
committed
revert mistaken edit
1 parent 84b50a6 commit c2f5e05

File tree

1 file changed

+2
-3
lines changed
  • packages/svelte/tests/runtime-browser

1 file changed

+2
-3
lines changed

packages/svelte/tests/runtime-browser/assert.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/** @import { assert } from 'vitest' */
2-
import { parse } from 'svelte/compiler';
2+
/** @import { CompileOptions, Warning } from '#compiler' */
3+
34
import { ELEMENT_NODE } from '#client/constants';
45

56
/**
@@ -19,8 +20,6 @@ export function deepEqual(a, b, message) {
1920
* @returns {boolean}
2021
*/
2122
function is_equal(a, b) {
22-
const input = '\uFEFF<div></div>';
23-
const actual = parse(input, { modern: true });
2423
if (a && typeof a === 'object') {
2524
const is_array = Array.isArray(a);
2625
if (Array.isArray(b) !== is_array) return false;

0 commit comments

Comments
 (0)