Skip to content

Commit

Permalink
chore: fixing cypress build
Browse files Browse the repository at this point in the history
  • Loading branch information
benjdlambert committed Feb 9, 2021
1 parent 08b61ba commit 81646fe
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 37 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tugboat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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() }}
Expand Down
17 changes: 2 additions & 15 deletions cypress/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 0 additions & 15 deletions packages/e2e-test/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 0 additions & 6 deletions packages/e2e-test/src/commands/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit 81646fe

Please sign in to comment.