Skip to content

Commit 3fe2287

Browse files
Merge pull request #15 from celestifyhq/dx
chore: second attempt at fix
2 parents b862089 + 47613df commit 3fe2287

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ module.exports = {
44
testMatch: ['**/__tests__/**/*.ts?(x)', '**/?(*.)+(spec|test).ts?(x)', '!**/*.d.ts'],
55
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
66
moduleNameMapper: {
7-
'^fcm-cloudflare-workers$': '<rootDir>/dist/index.js',
7+
'^fcm-cloudflare-workers$': '<rootDir>/src/index.ts',
88
},
99
};

tsconfig.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77
"esModuleInterop": true,
88
"forceConsistentCasingInFileNames": true,
99
"strict": true,
10-
"skipLibCheck": true
10+
"skipLibCheck": true,
11+
"baseUrl": ".",
12+
"paths": {
13+
"fcm-cloudflare-workers": ["src/index.ts"]
14+
}
1115
},
1216
"include": [
1317
"src/**/*"

0 commit comments

Comments
 (0)