chore(e2e): add cypress integration test of editorial workflow (#1573)

This commit is contained in:
Shawn Erquhart
2018-08-03 19:23:43 -04:00
committed by GitHub
parent 4d8e176797
commit b79c042e9e
13 changed files with 1072 additions and 85 deletions

15
scripts/cache.js Normal file
View File

@ -0,0 +1,15 @@
const os = require('os')
const path = require('path')
const cache = require('cache-me-outside')
cache({
cacheFolder: path.join('/', 'opt', 'build', 'cache', 'fast-cache'),
contents: [
{
path: path.join(os.homedir(), '.cache', 'Cypress'),
invalidateOn: __filename,
command: 'echo noop',
},
],
ignoreIfFolderExists: false,
})