-
Notifications
You must be signed in to change notification settings - Fork 208
chore: Migrate to new test-utils documenter #3693
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
Conversation
|
|
||
| function testUtilDocs() { | ||
| ['dom', 'selectors'].forEach(testUtilType => { | ||
| const baseWrapperDefinitions = require(`@cloudscape-design/test-utils-core/test-utils-doc/${testUtilType}`); |
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.
NB: in the old version we used to mix the base classes into this documentation. it should not be happening anymore
The consuming code will import them explicitly
40a29f5 to
b81186d
Compare
| // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
| // SPDX-License-Identifier: Apache-2.0 | ||
| import definitions from '../../../lib/components-definitions/components'; | ||
| // @ts-expect-error no typings |
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.
now there are typings
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3693 +/- ##
=======================================
Coverage 96.96% 96.96%
=======================================
Files 820 820
Lines 23785 23785
Branches 8338 8346 +8
=======================================
Hits 23063 23063
Misses 673 673
Partials 49 49 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
b81186d to
918abb7
Compare
This reverts commit 0cea5f4.
Description
Migrate to the new version implemented here: cloudscape-design/documenter#77
Related links, issue #, if available: n/a
How has this been tested?
PR build
Reviewed snapshot tests diff, all good
Review checklist
The following items are to be evaluated by the author(s) and the reviewer(s).
Correctness
CONTRIBUTING.md.CONTRIBUTING.md.Security
checkSafeUrlfunction.Testing
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.