Skip to content

Commit

Permalink
Use prepare for mock fetch work-araound
Browse files Browse the repository at this point in the history
  • Loading branch information
arv committed May 17, 2021
1 parent f0fe03e commit a05bd69
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@
"lint": "eslint --ext .ts,.tsx,.js,.jsx src/ perf/",
"build": "rollup --config rollup.config.js && CJS=1 rollup --config rollup.config.js ",
"build:watch": "rollup --config rollup.config.js --watch",
"postinstall": "rm -f node_modules/fetch-mock/esm/client.d.ts",
"prepublishOnly": "npm run lint && tool/get-deps.sh && npm run test && rm -rf out && npm run build",
"prepack": "npm run prepublishOnly",
"prepare": "tool/get-deps.sh",
"prepare": "rm -f node_modules/fetch-mock/esm/client.d.ts && tool/get-deps.sh",
"perf": "node perf/runner.js"
},
"devDependencies": {
Expand Down

1 comment on commit a05bd69

@arv
Copy link
Contributor Author

@arv arv commented on a05bd69 May 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.30.

Benchmark suite Current: a05bd69 Previous: f011c31 Ratio
scan 1024x1000 8.92 MB/s (±48.9%) 12.42 MB/s (±32.2%) 1.39
scan 1024x5000 10.08 MB/s (±56.6%) 13.86 MB/s (±107.7%) 1.38

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.