File tree Expand file tree Collapse file tree 3 files changed +2
-9
lines changed
Expand file tree Collapse file tree 3 files changed +2
-9
lines changed Original file line number Diff line number Diff 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-' ) ) ) {
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import { flushSync } from 'svelte';
22import { test } from '../../test' ;
33
44export default test ( {
5- requiredNodeVersion : 24 ,
65 test ( { assert, target, logs } ) {
76 const [ b1 , b2 ] = target . querySelectorAll ( 'button' ) ;
87 b1 . click ( ) ;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { test } from '../../test';
33
44export 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>` ) ;
You can’t perform that action at this time.
0 commit comments