chore: fixing cypress build

This commit is contained in:
blam
2021-02-09 10:00:01 +01:00
parent 08b61ba0bd
commit 81646feee0
4 changed files with 3 additions and 37 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ jobs:
uses: actions/upload-artifact@v1
with:
name: cypress-videos
path: ./cypress/videos
path: ./cypress/cypress/videos
- name: set status
if: ${{ failure() }}
+2 -15
View File
@@ -11,20 +11,7 @@ module.exports = {
bundledDependencies: false,
},
],
'jest/expect-expect': 'off',
'no-restricted-syntax': 'off',
},
overrides: [
{
files: ['**/cypress/integration/**'],
rules: {
'jest/expect-expect': 'off',
},
},
{
files: ['src/commands/cypress.ts'],
rules: {
'no-restricted-syntax': 'off',
},
},
],
};
-15
View File
@@ -12,19 +12,4 @@ module.exports = {
},
],
},
overrides: [
{
files: ['**/cypress/integration/**'],
rules: {
'jest/expect-expect': 'off',
},
},
{
files: ['src/commands/cypress.ts'],
rules: {
'no-restricted-syntax': 'off',
},
},
],
};
-6
View File
@@ -16,13 +16,7 @@
import { CommanderStatic } from 'commander';
import { run } from './run';
import { run as cypress } from './cypress';
export function registerCommands(program: CommanderStatic) {
program.command('run').description('Run e2e tests').action(run);
program
.command('cypress')
.description('Run cypress e2e tests')
.option('-w, --watch', 'watch/open mode')
.action(cypress);
}