Skip to content

Backend testing #133

@0916dhkim

Description

@0916dhkim

Add basic testing to backend.

  • Create a handler wrapper so that each handler should be testable without supertest. Instead of res.send, handler should return an object (e.g. { status: 200, body: something }
  • Use vitest (it can be used without vite).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions