-
Notifications
You must be signed in to change notification settings - Fork 33
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
Add tests for custom fields on all entities #712
Conversation
Demo starting at https://lxd-ui-712.demos.haus |
@@ -8,6 +8,7 @@ export default mergeConfig( | |||
sourcemap: "inline", | |||
}, | |||
test: { | |||
environment: "jsdom", |
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.
what does this do?
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 did face crashes on testing functions with custom CSS styles from react-components in the default environment node
. The change to jsdom
is emulating a more realistic browser environment. This resolved this issue. See also vite test docs on this.
just some minor wording changes, although it's opinionated so feel free to disregard it if you feel like otherwise 🙂 |
…ts, networks, storage pools and storage volumes WD-9656 Signed-off-by: David Edler <david.edler@canonical.com>
d3a6d36
to
a768b51
Compare
Done
Fixes WD-9656
QA