File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ export default class ExecutableCode {
116116 crosslinkValue === 'disabled' || // disabled by developer
117117 highlightOnly || // highlighted only not worked in...
118118 ( // Unsupported external deps
119- ( jsLibs && jsLibs . length > 0 ) ||
119+ ( jsLibs && ! ! jsLibs . size ) ||
120120 ( hiddenDependencies && hiddenDependencies . length > 0 )
121121 )
122122 )
Original file line number Diff line number Diff line change @@ -52,21 +52,15 @@ test.describe('open in playground', () => {
5252 printlnCode ( 'Hello, World' ) ,
5353 ) ) ;
5454
55- test ( 'no link for js-libs' , ( { page } ) => {
56- test . fixme (
57- true ,
58- "Test doesn't work, BUG in code! jsLibs.length -> jsLibs.size" ,
59- ) ;
60-
61- return checkCrosslink (
55+ test ( 'no link for js-libs' , ( { page } ) =>
56+ checkCrosslink (
6257 page ,
6358 {
6459 'data-target-platform' : 'js' ,
6560 'data-js-libs' : 'https://somescript.js' ,
6661 } ,
6762 printlnCode ( 'Hello, World!' ) ,
68- ) ;
69- } ) ;
63+ ) ) ;
7064
7165 test ( 'no link for hidden deps' , ( { page } ) =>
7266 checkCrosslink (
You can’t perform that action at this time.
0 commit comments