Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the Wasm integration tests and enable it for K2 #3641

Merged
merged 2 commits into from
Jun 4, 2024

Conversation

vmishenev
Copy link
Member

No description provided.

@@ -16,9 +16,6 @@ fun test(list: MutableList<Int>) = "list"
@JsNonModule
external fun <T> sorted(a: Array<T>): Boolean

// this declaration can be used to check deserialization of dynamic type
external interface TextLinkProps: AnchorHTMLAttributes<HTMLAnchorElement>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was copied from Js integration test
but the import import react.dom.html.AnchorHTMLAttributes was missed

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couldn't we just add import here?
Or remove also other not used import org.w3c.dom.HTMLAnchorElement.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, AnchorHTMLAttributes is from the kotlin-wrappers:kotlin-react that is not published for Wasm.

@vmishenev vmishenev linked an issue Jun 3, 2024 that may be closed by this pull request
@@ -16,9 +16,6 @@ fun test(list: MutableList<Int>) = "list"
@JsNonModule
external fun <T> sorted(a: Array<T>): Boolean

// this declaration can be used to check deserialization of dynamic type
external interface TextLinkProps: AnchorHTMLAttributes<HTMLAnchorElement>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couldn't we just add import here?
Or remove also other not used import org.w3c.dom.HTMLAnchorElement.

@vmishenev vmishenev merged commit 740b41b into master Jun 4, 2024
13 checks passed
@vmishenev vmishenev deleted the vmishenev/fix-wasm-integration-tests branch June 4, 2024 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[K2] KMP: Support Wasm platform fully
2 participants