Skip to content

Commit

Permalink
fix: export listener
Browse files Browse the repository at this point in the history
  • Loading branch information
noomorph committed Nov 25, 2023
1 parent ffb0a84 commit af8f67f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions environment-listener.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Fallback for Jest 27.x.x
module.exports = require('./dist/environment/listener');
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@
"require": "./dist/environment/decorator.js",
"types": "./dist/environment/decorator.d.ts"
},
"./environment-listener": {
"import": "./dist/environment/listener.js",
"require": "./dist/environment/listener.js",
"types": "./dist/environment/listener.d.ts"
},
"./environment-jsdom": {
"import": "./dist/environment/jsdom.js",
"require": "./dist/environment/jsdom.js",
Expand Down

0 comments on commit af8f67f

Please sign in to comment.