frontend: collect coverage for the context modules
The auth-routing decision lives under context/, which the coverage globs skipped, so a covered module never appeared in the report. The glob joins the other source trees
Pedro Lucas Porcellis porcellis@eletrotupi.com · 9 days ago
ff054a2a3d5d5d8afeba52d3876130ef83d323d5 Browse filesParents
27bca51Changed files
1
Additions
+1
Deletions
0
frontend/jest.config.js
1 1
/** @type {import('jest').Config} */
2 2
module.exports = {
3 3
// The runner Expo ships for this SDK. Android-only, like the app itself.
4 4
preset: 'jest-expo/android',
5 5
26 26
'lib/**/*.{ts,tsx}',
27 27
'hooks/**/*.{ts,tsx}',
28 28
'stores/**/*.{ts,tsx}',
29 29
'constants/**/*.{ts,tsx}',
30 30
'components/**/*.{ts,tsx}',
31 +
'context/**/*.{ts,tsx}',
31 32
],
32 33
coverageReporters: ['text', 'html'],
33 34
};