Skip to content

Commit b862089

Browse files
Merge pull request #14 from celestifyhq/dx
chore: fix github actions test runner
2 parents 21e2fd1 + 7d76736 commit b862089

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

jest.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
module.exports = {
22
preset: 'ts-jest',
33
testEnvironment: 'node',
4-
testMatch: ['**/__tests__/**/*.ts?(x)', '**/?(*.)+(spec|test).ts?(x)'],
4+
testMatch: ['**/__tests__/**/*.ts?(x)', '**/?(*.)+(spec|test).ts?(x)', '!**/*.d.ts'],
55
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
6+
moduleNameMapper: {
7+
'^fcm-cloudflare-workers$': '<rootDir>/dist/index.js',
8+
},
69
};

0 commit comments

Comments
 (0)