Skip to content

feat(playwright): allow AxeBuilder to use different version of axe-core - #335

Merged
michael-siek merged 2 commits into
developfrom
feat/playwright-soucre
Aug 17, 2021
Merged

feat(playwright): allow AxeBuilder to use different version of axe-core#335
michael-siek merged 2 commits into
developfrom
feat/playwright-soucre

Conversation

@michael-siek

Copy link
Copy Markdown
Member

No description provided.

Comment on lines +14 to +15
const axePath = require.resolve('axe-core');
const source = fs.readFileSync(axePath, 'utf-8');

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, probably don't need to go to disk if axeSource is defined. I know we did that in other projects. I'll leave it up to you.

@michael-siek
michael-siek merged commit f803c98 into develop Aug 17, 2021
@michael-siek
michael-siek deleted the feat/playwright-soucre branch August 17, 2021 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants