Skip to content

Commit be1c346

Browse files
committed
simple mistake
1 parent 72e63f7 commit be1c346

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

packages/svelte/tests/runtime-legacy/shared.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -130,14 +130,8 @@ export function runtime_suite(runes: boolean) {
130130
return suite_with_variants<RuntimeTest, 'hydrate' | 'ssr' | 'dom', CompileOptions>(
131131
['dom', 'hydrate', 'ssr'],
132132
(variant, config, test_name) => {
133-
if (config.requiredNodeVersion) {
134-
console.log({
135-
requiredNodeVersion: config.requiredNodeVersion,
136-
NODE_MAJOR_VERSION
137-
})
138-
}
139133
if (config.requiredNodeVersion && NODE_MAJOR_VERSION < config.requiredNodeVersion) {
140-
return true;
134+
return 'no-test';
141135
}
142136

143137
if (!async_mode && (config.skip_no_async || test_name.startsWith('async-'))) {

packages/svelte/tests/runtime-runes/samples/pre-effect/_config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { flushSync } from 'svelte';
22
import { test } from '../../test';
33

44
export default test({
5-
requiredNodeVersion: 24,
65
test({ assert, target, logs }) {
76
const [b1, b2] = target.querySelectorAll('button');
87
b1.click();

packages/svelte/tests/runtime-runes/samples/using/_config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { test } from '../../test';
33

44
export default test({
55
html: '',
6-
6+
requiredNodeVersion: 24,
77
test({ assert, target }) {
88
flushSync();
99
assert.htmlEqual(target.innerHTML, `<p>connected: true</p><p>disposed: true</p>`);

0 commit comments

Comments
 (0)