test: set up jest-expo and cover the Zustand store

This commit is contained in:
evandro committed 2026-10-10 04:12:13 -03:00
1 parent 1e0490b1f7
commit 37dfa265f5
5 files changed
+2830 -29

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
module.exports = {
preset: 'jest-expo',
setupFiles: ['<rootDir>/jest.setup.js'],
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/$1',
},
testMatch: ['<rootDir>/__tests__/**/*.test.{ts,tsx}'],
testPathIgnorePatterns: ['/node_modules/', '/dist/', '/.agent/'],
};