Skip to content

Commit a28c105

Browse files
authored
fix: PR check (#117)
1 parent ac57923 commit a28c105

File tree

4 files changed

+4
-12
lines changed

4 files changed

+4
-12
lines changed

.eslintrc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ module.exports = {
1010
},
1111
globals: {
1212
axe: true,
13-
Promise: true
13+
Promise: true,
14+
a11yEngine: true
1415
},
1516
rules: {
1617
'no-bitwise': 2,

.github/workflows/test.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ jobs:
1919
cache: 'npm'
2020
- run: npm ci
2121
- run: npm run build
22-
# v4 download seems to have some flakiness with the download of artifacts so pinning to v3 for now
23-
# @see https://github.com/actions/download-artifact/issues/249
24-
- uses: actions/upload-artifact@v3
22+
- uses: actions/upload-artifact@v4
2523
with:
2624
name: axe-core
2725
path: axe.js

lib/checks/color/link-in-text-block-evaluate.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {
44
getBackgroundColor,
55
incompleteData
66
} from '../../commons/color';
7-
import a11yEngineCommons from '../../commons/a11y-engine-index';
87

98
function getContrast(color1, color2) {
109
var c1lum = color1.getRelativeLuminance();
@@ -53,7 +52,7 @@ function linkInTextBlockEvaluate(node, options) {
5352
) {
5453
return true;
5554
}
56-
return a11yEngineCommons.distinguishableLinkEvaluate(node, parentBlock);
55+
return a11yEngine.commons.distinguishableLinkEvaluate(node, parentBlock);
5756
}
5857

5958
// Capture colors

lib/commons/a11y-engine-index.js

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

0 commit comments

Comments
 (0)