@revoloo/cypress6
Version:
Cypress.io end to end testing tool
18 lines (13 loc) • 336 B
JavaScript
// @ts-check
function getTranspileFolders (config) {
const folders = []
// user can disable folders, so check first
if (config.componentFolder) {
folders.push(config.componentFolder)
}
if (config.fixturesFolder) {
folders.push(config.fixturesFolder)
}
return folders
}
module.exports = { getTranspileFolders }