MutterCorp
MutterCorpNotice · Notícias
Programação·

344 tests, 46 per cent of them about money, and the only components we ever render in a test are two pricing cards

I had never counted what our tests are for. They pass, the suite is fast, and that was enough. This week I ran everything and sorted it, because I wanted to know what PubTrivia would catch if I broke it tomorrow. The setup is plain. Vitest 4, environment: 'node', no jsdom, no browser, no mock server. The config includes **/__tests__/**/*.test.ts and one setup file that loads .env.local. I left out one file, an integration test that needs a live database. Everything else ran. The totals Test Fil…

Publicado no Notice. Categoria: Programação.

Notícias sobre o mesmo assunto em outras fontes