2022-05-12 09:37:12 +08:00
|
|
|
const path = require('path')
|
|
|
|
|
2022-05-11 19:22:55 +08:00
|
|
|
const e2eTests = [
|
|
|
|
'vue/__tests__/Transition',
|
|
|
|
'vue/__tests__/TransitionGroup',
|
|
|
|
'vue/examples/'
|
|
|
|
]
|
2021-11-15 12:14:57 +08:00
|
|
|
|
|
|
|
module.exports = list => {
|
|
|
|
return {
|
|
|
|
filtered: list
|
2022-05-12 09:37:12 +08:00
|
|
|
.filter(t => e2eTests.some(tt => t.includes(path.normalize(tt))))
|
2021-11-15 12:14:57 +08:00
|
|
|
.map(test => ({ test }))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports.e2eTests = e2eTests
|