mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-28 01:58:40 -05:00
When working on something else, I noticed that `.test.js` files were not running due to `jest.config.json` not including them. I went ahead and re-enabled these tests to make sure that unit tests are actually being run.
14 lines
466 B
JSON
14 lines
466 B
JSON
{
|
|
"setupFiles": ["./jest.setup.js"],
|
|
"testPathIgnorePatterns": ["dist", "/node_modules/", "/build/"],
|
|
"roots": ["<rootDir>"],
|
|
"moduleFileExtensions": ["ts", "js", "json"],
|
|
"testEnvironment": "node",
|
|
"collectCoverage": true,
|
|
"collectCoverageFrom": ["**/*.{js,ts,tsx}"],
|
|
"coveragePathIgnorePatterns": ["dist", "/node_modules/", "/build/"],
|
|
"coverageReporters": ["html", "lcov", "text", "text-summary"],
|
|
"resetMocks": true,
|
|
"restoreMocks": true
|
|
}
|