aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/jest.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/instant/jest.config.js')
-rw-r--r--packages/instant/jest.config.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/instant/jest.config.js b/packages/instant/jest.config.js
new file mode 100644
index 000000000..29c365835
--- /dev/null
+++ b/packages/instant/jest.config.js
@@ -0,0 +1,10 @@
+module.exports = {
+ roots: ['<rootDir>/test'],
+ coverageDirectory: 'coverage',
+ transform: {
+ '.*.tsx?$': 'ts-jest',
+ },
+ testRegex: '(/__test__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$',
+ moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
+ collectCoverageFrom: ['src/**/*.{ts,tsx}', '!src/index.tsx'],
+};