-
-
Notifications
You must be signed in to change notification settings - Fork 48
chore: fix tests to follow latest Svelte 5 #751
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
Conversation
|
So, I think sveltejs/svelte#11327 changes messages, so messages between Svelte 4 and Svelte 5 is not same anymore. |
We need to wait to solve this issue.
|
4383b3a
to
8155033
Compare
@@ -128,7 +128,8 @@ const config = [ | |||
}, | |||
rules: { | |||
'n/file-extension-in-import': 'off', | |||
'n/no-unsupported-features/es-syntax': 'off' | |||
'n/no-unsupported-features/es-syntax': 'off', | |||
'n/no-unsupported-features/es-builtins': 'off' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I needed to disable n/no-unsupported-features/es-builtins
for window.btoa
.
<a href="#" on:click={(evt) => onClickMessage(evt, msg)} class="message-link" | ||
>[{msg.line}:{msg.column}]</a | ||
>: | ||
<button on:click={(evt) => onClickMessage(evt, msg)} class="message-link"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I resolved the warning.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you!
I just added Node 22 but CI does not pass in #750
sveltejs/svelte#11327 changes warning messages, so I mainly copied exist tests and optimized for Svelte 5.