Skip to content

Commit

Permalink
Merge pull request #198 from JetBrains/pre-130
Browse files Browse the repository at this point in the history
prepare 1.30
  • Loading branch information
zoobestik authored Dec 27, 2023
2 parents cfb7e5c + 79840c6 commit f251dce
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kotlin-playground",
"version": "1.29.0",
"version": "1.30.0",
"description": "Self-contained component to embed in websites for running Kotlin code",
"keywords": [
"kotlin",
Expand Down
2 changes: 1 addition & 1 deletion src/executable-code/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export default class ExecutableCode {
crosslinkValue === 'disabled' || // disabled by developer
highlightOnly || // highlighted only not worked in...
( // Unsupported external deps
(jsLibs && jsLibs.length > 0) ||
(jsLibs && !!jsLibs.size) ||
(hiddenDependencies && hiddenDependencies.length > 0)
)
)
Expand Down
12 changes: 3 additions & 9 deletions tests/crosslink.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,21 +52,15 @@ test.describe('open in playground', () => {
printlnCode('Hello, World'),
));

test('no link for js-libs', ({ page }) => {
test.fixme(
true,
"Test doesn't work, BUG in code! jsLibs.length -> jsLibs.size",
);

return checkCrosslink(
test('no link for js-libs', ({ page }) =>
checkCrosslink(
page,
{
'data-target-platform': 'js',
'data-js-libs': 'https://somescript.js',
},
printlnCode('Hello, World!'),
);
});
));

test('no link for hidden deps', ({ page }) =>
checkCrosslink(
Expand Down

0 comments on commit f251dce

Please sign in to comment.