Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit d190869

Browse files
committed
(fix): resolve some renaming errors I didn't catch
- initially named this jest-export, then jest-no-globals, and now jest-without-globals - NG -> WG and jest-export.esm.js are a result of that :/
1 parent 8a4832a commit d190869

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.0.0",
44
"description": "Explicitly import Jest globals",
55
"main": "dist/index.js",
6-
"module": "dist/jest-export.esm.js",
6+
"module": "dist/jest-without-globals.esm.js",
77
"typings": "dist/index.d.ts",
88
"files": [
99
"dist/"

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const fitWG = fit // alias for it.only
1414
const xtestWG = xtest // alias for test.skip
1515
const xitWG = xit // alias for it.skip
1616

17-
// all this renamiWG is a workaround for the TS2661 error: "Cannot re-export name that is not defined in the module"
17+
// all this renaming is a workaround for the TS2661 error: "Cannot re-export name that is not defined in the module"
1818
export { jestWG as jest }
1919
export { expectWG as expect }
2020
export { afterAllWG as afterAll }

0 commit comments

Comments
 (0)