Skip to content

Commit 6f477a5

Browse files
committed
docs(cypress): fix linting documentation and comments
1 parent c4d853f commit 6f477a5

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

packages/e2e-cypress/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export default [
3434
{
3535
name: 'custom/cypress',
3636

37-
files: ['**/*.cy.{js,jsx,ts,tsx}'],
37+
files: ['test/cypress/**/*.{js,jsx,ts,tsx}', '**/*.cy.{js,jsx,ts,tsx}'],
3838
extends: [
3939
// Add Cypress-specific lint rules, globals and Cypress plugin
4040
// See https://github.com/cypress-io/eslint-plugin-cypress#rules

test-vite-app-v1-vite4/cypress.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ export default defineConfig({
1515
baseUrl: 'http://localhost:8080/',
1616
supportFile: 'test/cypress/support/e2e.ts',
1717
specPattern: 'test/cypress/e2e/**/*.cy.{js,jsx,ts,tsx}',
18+
// Vite takes quite some time for cold startup, we manually set this in the testing repo
19+
// to avoid timeout problems when running local smoke tests
1820
defaultCommandTimeout: 10000,
1921
},
2022
component: {

test-vite-app-v1-vite5/cypress.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ export default defineConfig({
1515
baseUrl: 'http://localhost:8080/',
1616
supportFile: 'test/cypress/support/e2e.ts',
1717
specPattern: 'test/cypress/e2e/**/*.cy.{js,jsx,ts,tsx}',
18+
// Vite takes quite some time for cold startup, we manually set this in the testing repo
19+
// to avoid timeout problems when running local smoke tests
1820
defaultCommandTimeout: 10000,
1921
},
2022
component: {

test-vite-app-v2/eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export default defineConfigWithVueTs(
9191
{
9292
name: 'custom/cypress',
9393

94-
files: ['**/*.cy.{js,jsx,ts,tsx}'],
94+
files: ['test/cypress/**/*.{js,jsx,ts,tsx}', '**/*.cy.{js,jsx,ts,tsx}'],
9595
extends: [
9696
// Add Cypress-specific lint rules, globals and Cypress plugin
9797
// See https://github.com/cypress-io/eslint-plugin-cypress#rules

0 commit comments

Comments
 (0)