Include *.test.js files in test run (#171)

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.
This commit is contained in:
Jakub Kuczys
2023-03-27 15:55:32 +02:00
committed by GitHub
parent c8a901d3ff
commit 7713848067
2 changed files with 6 additions and 1 deletions

View File

@@ -2,7 +2,6 @@
"setupFiles": ["./jest.setup.js"],
"testPathIgnorePatterns": ["dist", "/node_modules/", "/build/"],
"roots": ["<rootDir>"],
"testMatch": ["<rootDir>/**/*.spec.js"],
"moduleFileExtensions": ["ts", "js", "json"],
"testEnvironment": "node",
"collectCoverage": true,

View File

@@ -0,0 +1,6 @@
---
category: Maintenance
authors: [Jackenmen]
---
Fix app-sync.test.js not being ran due to faulty jest configuration