vue3-yuanma/scripts/filter-e2e.js
2021-11-15 12:14:57 +08:00

12 lines
254 B
JavaScript

const e2eTests = ['/Transition', '/TransitionGroup', '/examples/']
module.exports = list => {
return {
filtered: list
.filter(t => e2eTests.some(tt => t.includes(tt)))
.map(test => ({ test }))
}
}
module.exports.e2eTests = e2eTests