- add a few tests - re-organize tests to allow testing with different env vars and creating a combined coverage report - extract test data into separate files, because importing data from testA in testB leads to weird jest errors - remove `dotenv` because it's not being used - "GitHub Trends" -> "GitHub Stats Extended"
14 lines
310 B
JavaScript
14 lines
310 B
JavaScript
export default {
|
|
clearMocks: true,
|
|
transform: {},
|
|
testEnvironment: "jsdom",
|
|
testMatch: [
|
|
"<rootDir>/tests/*.test.{ts,js}",
|
|
"<rootDir>/tests/private-instance/*.test.{ts,js}",
|
|
],
|
|
setupFiles: [
|
|
"<rootDir>/tests/setup.jest.js",
|
|
"<rootDir>/tests/setup.private-instance.jest.js",
|
|
],
|
|
};
|