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

Rename "client unit tests" to something more appropriate #2232

Open
sodic opened this issue Aug 9, 2024 · 1 comment
Open

Rename "client unit tests" to something more appropriate #2232

sodic opened this issue Aug 9, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation testing

Comments

@sodic
Copy link
Contributor

sodic commented Aug 9, 2024

As mentioned in #2049, back when Wasp treated client and server code differently (pre v0.12.0), we implemented a framework for running client tests using Vitest.

This framework can now be used to test any JS code (client or server), so we should:

  • Understand the possibilities and limitations of our "client test" framework.
  • Rephrase the docs to communicate that the testing is no longer limited to the client.

A user said:

From my perspective, the thing I found confusing about that “client unit test” example is that it’s not necessarily bound to client code. You can test any javascript code, whether it runs on the client, server, or both!

@sodic sodic added documentation Improvements or additions to documentation testing labels Aug 9, 2024
@Martinsos
Copy link
Member

To a degree this is a duplicate of #2049

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation testing
Projects
None yet
Development

No branches or pull requests

2 participants