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

Browser mode with vitest & test suite improvements #21

Merged
merged 17 commits into from
Dec 10, 2024
Merged

Conversation

AlemTuzlak
Copy link
Contributor

@AlemTuzlak AlemTuzlak commented Dec 10, 2024

Description

Adds the following setup to our vitest runner:

  • Runs generic test files (.test) in both server and browser environments
  • Runs browser test files .browser.test in browser environments
  • Runs server test files .server.test in server environments

Type of change

Please mark relevant options with an x in the brackets.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Algorithm update - updates algorithm documentation/questions/answers etc.
  • Other (please describe):

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also
list any relevant details for your test configuration

  • Integration tests
  • Unit tests
  • Manual tests
  • No tests required

Reviewer checklist

Mark everything that needs to be checked before merging the PR.

  • Check if the UI is working as expected and is satisfactory
  • Check if the code is well documented
  • Check if the behavior is what is expected
  • Check if the code is well tested
  • Check if the code is readable and well formatted
  • Additional checks (document below if any)

Screenshots (if appropriate):

Questions (if appropriate):

Copy link

github-actions bot commented Dec 10, 2024

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 98.34% 119 / 121
🔵 Statements 98.34% 119 / 121
🔵 Functions 66.66% 2 / 3
🔵 Branches 100% 3 / 3
File CoverageNo changed files found.
Generated in workflow #86 for commit eb3cb95 by the Vitest Coverage Report Action

@AlemTuzlak AlemTuzlak changed the title [WIP] Testing out browser mode with vitest Browser mode with vitest & test suite improvements Dec 10, 2024
@AlemTuzlak AlemTuzlak requested a review from thomasfr December 10, 2024 12:59
@AlemTuzlak AlemTuzlak merged commit 0476639 into main Dec 10, 2024
3 checks passed
@AlemTuzlak AlemTuzlak deleted the browser-mode branch December 10, 2024 13:55
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