Skip to content

Commit e07365a

Browse files
mchmwmcode
authored andcommitted
feat(src): updated packages inc cypress 10
BREAKING CHANGE: Dropped support for Node 12 (might still work but not guaranteed)
1 parent ac479a7 commit e07365a

File tree

10 files changed

+3934
-5551
lines changed

10 files changed

+3934
-5551
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
strategy:
2424
matrix:
25-
node-version: [12.x, 14.x, 16.x]
25+
node-version: [14.x, 16.x, 18.x]
2626
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2727

2828
steps:

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
Test accessibility with [axe-core](https://github.com/dequelabs/axe-core) in [Cypress](https://cypress.io).
66

7-
## ⚠️ UPDATE: [cypress-axe](https://github.com/component-driven/cypress-axe) now supports Cypress 8 ([latest release](https://github.com/component-driven/cypress-axe/releases/tag/v0.13.0)).
7+
## ⚠️ UPDATE: [cypress-axe](https://github.com/component-driven/cypress-axe) now supports Cypress 8 ([latest release](https://github.com/component-driven/cypress-axe/releases/tag/v0.13.0)). So you should consider using/switching to the orignal package.
8+
89
> ### Forked from [cypress-axe](https://github.com/component-driven/cypress-axe)
910
>
1011
> **Reasons**:

cypress.config.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/* eslint-disable @typescript-eslint/no-var-requires */
2+
import { defineConfig } from 'cypress';
3+
4+
export default defineConfig({
5+
video: false,
6+
e2e: {
7+
// We've imported your old cypress plugins here.
8+
// You may want to clean this up later by importing these.
9+
setupNodeEvents(on, config) {
10+
return require('./cypress/plugins/index.js')(on, config);
11+
},
12+
baseUrl: 'http://localhost:8080',
13+
},
14+
});

cypress.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)