From b3f9e4ac667f7e4b3c6ac720ca6c33fc92ae7196 Mon Sep 17 00:00:00 2001 From: Ahn Date: Fri, 26 Mar 2021 08:41:48 +0100 Subject: [PATCH] test(e2e): exclude several sub folders in e2e/presets from clean e2e (#11242) --- scripts/cleanE2e.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/cleanE2e.js b/scripts/cleanE2e.js index 362a88ae1ebc..37fb475663b1 100644 --- a/scripts/cleanE2e.js +++ b/scripts/cleanE2e.js @@ -13,8 +13,11 @@ const {sync: rimraf} = require('rimraf'); const excludedModules = [ 'e2e/global-setup-node-modules/node_modules/', + 'e2e/presets/cjs/node_modules/', 'e2e/presets/js/node_modules/', + 'e2e/presets/js-type-module/node_modules/', 'e2e/presets/json/node_modules/', + 'e2e/presets/mjs/node_modules/', ].map(dir => normalize(dir)); const e2eNodeModules = glob('e2e/*/node_modules/')