Skip to content

Commit b0674b8

Browse files
fix readme
1 parent 97d048c commit b0674b8

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ It is suggested to add the following npm scripts:
2626

2727
```json
2828
"scripts": {
29-
"test": "jest",
30-
"test:json": "cross-env SKILLS17_JSON=true jest"
29+
"test": "jest",
30+
"test:json": "cross-env SKILLS17_JSON=true jest"
3131
},
3232
```
3333

@@ -39,11 +39,9 @@ import { JestConfigWithTsJest } from "ts-jest";
3939
const jsonOnlyReport = !!process.env["SKILLS17_JSON"];
4040

4141
const config: JestConfigWithTsJest = {
42-
clearMocks: true,
4342
reporters: jsonOnlyReport
44-
? [["../../../lib/skills17-reporter", { json: jsonOnlyReport }]]
45-
: ["default", "../../../lib/skills17-reporter"],
46-
testEnvironment: "node",
43+
? [["@skills17/jest-helpers", { json: jsonOnlyReport }]]
44+
: ["default", "@skills17/jest-helpers"],
4745
};
4846

4947
export default config;

0 commit comments

Comments
 (0)