vue3-yuanma/scripts/filter-unit.js

10 lines
197 B
JavaScript
Raw Normal View History

2021-11-15 12:14:57 +08:00
const { e2eTests } = require('./filter-e2e')
module.exports = list => {
return {
filtered: list
.filter(t => !e2eTests.some(tt => t.includes(tt)))
.map(test => ({ test }))
}
}