mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-14 10:59:54 -06:00
24 lines
383 B
JavaScript
24 lines
383 B
JavaScript
const path = require('path')
|
|
const Promise = require('bluebird')
|
|
const glob = Promise.promisify(require('glob'))
|
|
|
|
module.exports = {
|
|
getPathToExamples () {
|
|
return glob(
|
|
path.join(
|
|
__dirname,
|
|
'..',
|
|
'cypress',
|
|
'integration',
|
|
'examples',
|
|
'**',
|
|
'*'
|
|
)
|
|
)
|
|
},
|
|
|
|
getFolderName () {
|
|
return 'examples'
|
|
},
|
|
}
|