Skip to content

Commit

Permalink
Fix scripts and packages
Browse files Browse the repository at this point in the history
  • Loading branch information
serbanghita committed Dec 4, 2023
1 parent 0d0b8a0 commit afecad6
Show file tree
Hide file tree
Showing 11 changed files with 3,357 additions and 2,052 deletions.
524 changes: 522 additions & 2 deletions build/formToObject.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions jest-setup.js
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
require('@testing-library/jest-dom');
require('@types/testing-library__jest-dom');

5 changes: 2 additions & 3 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,17 @@ module.exports = {
collectCoverage: true,
collectCoverageFrom: [
"<rootDir>/src/**/*.ts",
"!<rootDir>/src/index.exportToWindow.ts",
"<rootDir>/test/unit/*.test.ts",
"!**/node_modules/**",
],
coverageDirectory: ".tmp/coverage",
coverageReporters: ["html", "json", "lcov", "text", "clover"],
moduleFileExtensions: ["ts", "js"],
modulePaths: ['<rootDir>/src/', '<rootDir>/test/unit/'],
modulePaths: ['<rootDir>/src/'],
transform: {
"\\.ts$": "ts-jest",
},
testMatch: ["<rootDir>/test/unit/*.test.ts", "<rootDir>/test/acceptance/*.test.ts", "<rootDir>/test/e2e/*.test.ts"],
testMatch: ["<rootDir>/test/unit/*.test.ts", "<rootDir>/test/integration/*.test.ts"],
verbose: true,
setupFilesAfterEnv: ['<rootDir>/jest-setup.js']
};
Loading

0 comments on commit afecad6

Please sign in to comment.