将测试从 Enzyme 迁移到 React Testing Library (RTL)
The following tests use Enzyme: - [x] core/test/alert/alertTests.tsx | https://ZZTERM24ZZ.com/palantir/blueprint/pull/7445 - [x] core/test/breadcrumbs/breadcrumbsTests.tsx | https://ZZTERM26ZZ.com/palantir/blueprint/pull/7446 - [x] core/test/breadcrumbs/breadcrumbTests.tsx | https://ZZTERM28ZZ.com/palantir/blueprint/pull/7446 - [x] core/test/buttons/abstractButtonTests.tsx | https://ZZTERM30ZZ.com/palantir/blueprint/pull/7447 - [x] core/test/callout/calloutTests.tsx | https://ZZTERM32ZZ.com/palantir/blueprint/pull/7448 - [x] core/test/card/cardTests.tsx | https://ZZTERM34ZZ.com/palantir/blueprint/pull/7449 - [x] core/test/card-list/cardListTests.tsx | https://ZZTERM36ZZ.com/palantir/blueprint/pull/7449 - [x] core/test/collapse/collapseTests.tsx | https://ZZTERM38ZZ.com/palantir/blueprint/pull/7437 - [ ] core/test/context-menu/contextMenuTests.tsx | https://ZZTERM40ZZ.com/palantir/blueprint/pull/7777 - [x] core/test/control-card/controlCardTests.tsx |
内容来源: palantir/blueprint