Closed MaySoMusician closed 2 years ago
As I added to README.md, we should copy .env.development.local
to .env.production.local
to build the server because we need to set Supabase variables.
Or, you can run instead yarn dev
before running tests, but it might not be a good choice because tests should be run in the production environment.
Related: #21
Installed Cypress and configured some basic settings, with an example test added.
We possibly have to set up GitHub Action for running tests in the near future. The
start-server-and-test
package will help us when we configure the action for E2E, it's not included in this PR though.I'm making a next PR that configures unit testing, so #21 should not be closed until the PR (not this) gets merged.