pace-running / pace3

used for "lauf gegen rechts 2023"
2 stars 1 forks source link

[refactor] Move tests out of the pages folder #75

Closed pvince81tw closed 1 year ago

pvince81tw commented 1 year ago

NextJS does not support having tests along with source files. This moves the tests into a tests folder outside.

This fixes npm run build errors that were trying to include the tests in the production build.

Sent as PR to see if the build will pass

Fixes https://github.com/pace-running/pace3/issues/74

pvince81tw commented 1 year ago

now, for some reason the frontend test fail randomly again here on this branch

pvince81tw commented 1 year ago

rebased