Skip to content

Commit

Permalink
tests?
Browse files Browse the repository at this point in the history
  • Loading branch information
tomprince committed Mar 10, 2023
1 parent 6ddee5e commit bbad37a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
module.exports = {
export default {
preset: 'ts-jest',
testEnvironment: 'node',
moduleNameMapper: {
'^(\\.{1,2}/.*)\\.js$': '$1',
},
}
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"src"
],
"type": "module",
"main": "dist/main/index.js",
"module": "dist/module/index.js",
"types": "dist/module/index.d.ts",
"exports": {
"require": "./dist/main/index.js",
"import": "./dist/module/index.js",
Expand Down

0 comments on commit bbad37a

Please sign in to comment.