Skip to content

Commit d1f2d60

Browse files
committed
Fix issues
1 parent b51073a commit d1f2d60

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"test": "jest"
3636
},
3737
"devDependencies": {
38+
"@types/jest": "^26.0.22",
3839
"@types/node": "^13.13.0",
3940
"@types/node-fetch": "^2.5.7",
4041
"@types/uglify-js": "^3.0.4",

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ program
3535
},
3636
report: {
3737
...config.report,
38-
type: options.report,
39-
format: options.format,
38+
type: options.reportType,
39+
format: options.reportFormat,
4040
},
4141
request: {
4242
cache: {

yarn.lock

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,14 @@
583583
dependencies:
584584
"@types/istanbul-lib-report" "*"
585585

586+
"@types/jest@^26.0.22":
587+
version "26.0.22"
588+
resolved "https://registry.yarnpkg.com/@types/jest/-/jest-26.0.22.tgz#8308a1debdf1b807aa47be2838acdcd91e88fbe6"
589+
integrity sha512-eeWwWjlqxvBxc4oQdkueW5OF/gtfSceKk4OnOAGlUSwS/liBRtZppbJuz1YkgbrbfGOoeBHun9fOvXnjNwrSOw==
590+
dependencies:
591+
jest-diff "^26.0.0"
592+
pretty-format "^26.0.0"
593+
586594
"@types/json-schema@^7.0.3":
587595
version "7.0.7"
588596
resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.7.tgz#98a993516c859eb0d5c4c8f098317a9ea68db9ad"
@@ -2379,7 +2387,7 @@ jest-config@^26.6.3:
23792387
micromatch "^4.0.2"
23802388
pretty-format "^26.6.2"
23812389

2382-
jest-diff@^26.6.2:
2390+
jest-diff@^26.0.0, jest-diff@^26.6.2:
23832391
version "26.6.2"
23842392
resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-26.6.2.tgz#1aa7468b52c3a68d7d5c5fdcdfcd5e49bd164394"
23852393
integrity sha512-6m+9Z3Gv9wN0WFVasqjCL/06+EFCMTqDEUl/b87HYK2rAPTyfz4ZIuSlPhY51PIQRWx5TaxeF1qmXKe9gfN3sA==
@@ -3297,7 +3305,7 @@ prelude-ls@~1.1.2:
32973305
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54"
32983306
integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=
32993307

3300-
pretty-format@^26.6.2:
3308+
pretty-format@^26.0.0, pretty-format@^26.6.2:
33013309
version "26.6.2"
33023310
resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-26.6.2.tgz#e35c2705f14cb7fe2fe94fa078345b444120fc93"
33033311
integrity sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==

0 commit comments

Comments
 (0)