-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding a11y test packages #15040
Adding a11y test packages #15040
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 45fa80d:
|
Perf AnalysisNo significant results to display. All results
Perf Analysis (Fluent)Potential regressions comparing to master
Perf comparison
Perf tests with no regressions
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 7d093f59a06527fc39656c903cab4470650e3acd (build) |
Co-authored-by: Elizabeth Craig <[email protected]>
Co-authored-by: Elizabeth Craig <[email protected]>
packages/a11y-testing/package.json
Outdated
}, | ||
"devDependencies": { | ||
"@fluentui/eslint-plugin": "^0.54.0", | ||
"jest": "~24.9.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I let 'jest' here because in the validate.ts file I use "test" keyword in order to generate tests:
test(rule.stringify(), () => {
validateSlot(rule, testFacade);
});
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh I missed that--in that case you should have "jest": "^24.0.0"
in peerDependencies
as well (plus jest
and @types/jest
in devDependencies
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you :)
changes applied in the package.json file
Description of changes
Adding packages in order to use them, like in this PR:
https://github.com/microsoft/fluentui/pull/14968/files#diff-59eaeeca946dbf30b4378d6fa44b8905