diff --git a/lib/processes.js b/lib/processes.js index dbd9e30..35a5a9b 100644 --- a/lib/processes.js +++ b/lib/processes.js @@ -131,7 +131,6 @@ function launchAllProcesses(config) { '--disable-application-cache', '--media-cache-size=1', '--disk-cache-size=1', - '--disk-cache-dir=/dev/null', '--disable-cache', '--disable-desktop-notifications', ]; diff --git a/test/processes.test.js b/test/processes.test.js index 7560b88..99e6ab0 100644 --- a/test/processes.test.js +++ b/test/processes.test.js @@ -57,7 +57,6 @@ describe('Launch all processes Chrome', () => { '--disable-application-cache', '--media-cache-size=1', '--disk-cache-size=1', - '--disk-cache-dir=/dev/null', '--disable-cache', '--disable-desktop-notifications', '--headless', @@ -212,8 +211,8 @@ describe('Launch all processes Chrome', () => { [ ...chromeOptions.slice(0, 2), '--disk-cache-size=2', + ...chromeOptions.slice(3), '--disk-cache-dir=./tmp', - ...chromeOptions.slice(4), ], args );