Skip to content

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

Open
@sodic

Description

@sodic

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationtesting

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions