chore: fixing cypress build
This commit is contained in:
@@ -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
@@ -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',
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
@@ -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',
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user