Skip to content

Frontend — Testing and Code Quality

Jonas Jaszkowic edited this page Oct 15, 2024 · 3 revisions

Testing is essential to ensure code quality and avoid bugs. We use TypeScript for type safety, unit and snapshot testing for bug prevention.

TypeScript

Our TypeScript (TS) configuration is yet still loose, as we moved to TS in mid-flight. We want to strengthen our rules gradually. We use Eslint with some TypeScript-related packages to lint our TS Errors. See the .eslintrc.js file for more details.

Unit Testing

We use Vitest for unit testing.

End To End Testing

We use Playwright for end to end testing.