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

Vitest improvements #4002

Merged
merged 3 commits into from
Apr 22, 2024
Merged

Vitest improvements #4002

merged 3 commits into from
Apr 22, 2024

Conversation

bjoernricks
Copy link
Contributor

What

Improve settings for vitest

Why

Vitest is highly configurable and has a lot of potential for improvements. This PR uses the vitest workspace feature to use different test settings for the gmp and web parts of GSA.

References

GEA-540

Checklist

  • Tests

vite-plugin-eslint seems not to be maintained anymore and
vite-plugin-eslint2 is a sufficient drop in replacement.
This allows to run the gmp part with the node environment which should
be smaller and at the end faster.
In the node environment no browser objects like window, location,
navigatior, etc. pp are defined.
@bjoernricks bjoernricks requested a review from a team as a code owner April 22, 2024 07:38
@bjoernricks bjoernricks enabled auto-merge (rebase) April 22, 2024 07:38
Copy link

Conventional Commits Report

😢 No conventional commits found.

👉 Learn more about the conventional commits usage at Greenbone.

@bjoernricks bjoernricks merged commit 01e24e8 into main Apr 22, 2024
11 checks passed
@bjoernricks bjoernricks deleted the vitest-improvements branch April 22, 2024 08:15
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.

2 participants