Skip to content

Commit

Permalink
test(e2e): exclude several sub folders in e2e/presets from clean e2e (j…
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnpnl committed Mar 26, 2021
1 parent 36d23f5 commit b3f9e4a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/cleanE2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/')
Expand Down

0 comments on commit b3f9e4a

Please sign in to comment.