Skip to content

Commit

Permalink
Fix spec when running on macOS (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
pustovalov authored Mar 23, 2020
1 parent becaf5c commit 070558c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/size-limit/test/run.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ function createProcess (cwd, args = []) {

function clean (output) {
return output
.replace(/var\/folders\/(.*)\//g, 'tmp/')
.replace(/"cwd": "[^"]+"/, '"cwd": "/tmp/"')
.replace(/"webpackOutput": "[^"]+"/, '"webpackOutput": "/tmp/"')
}
Expand Down

0 comments on commit 070558c

Please sign in to comment.