MadCcc
7322aa6f5f
Revert "chore: migrate to vitest ( #42506 )" ( #42900 )
This reverts commit 6759887c44
.
1 year ago
Dunqing
6759887c44
chore: migrate to vitest ( #42506 )
* chore: migrate to vitest
* chore: update ci
* fix: test correctly
* test: support puppeteer
* chore: update coverage
* chore: update include/exclude
* chore: update config
* test: update incorrect tests
* chore: update script
* chore: update
* fix: should close browser at the ended
* chore: improve
* fix: test cause tsc error
* fix: eslint error
* chore: exclude correctly
* test: update snap and fix some tests
* chore: update test config
* fix: countup.js
* fix: incorrect test
* chore: update reference
* test: update
* fix: countup.js
* fix: timeout
* chore: update site test
* fix: fixed countup version
* chore: remove unsed code
* test: update
* test: update demo timeout
* test: update timeout
* chore: update image test
* chore: update threads
* fix: image/svg+xml test failed
* chore: limits threads
* test: update test coverage include
* chore: remove jest files
* chore: rename jest to vi
* chore: update document
* chore: fix missing @types/jsdom
* chore: update coverage
* chore: update snap
* fix:watermark test cases are incorrect
* feat: update ignore comment
* test: fix test case
* test: reset body scrollTop
* test: clean up
* test: use vi
* test: update snapshot
* test: update snapshot
* test: fix dropdown test failed
* fix: toHaveStyle cause test fail
* test: improve test case
* test: fix
* fix: color failed, refer to https://github.com/jsdom/jsdom/pull/3560
* test: fix
* test: fix
* test: fix circular import
* test: revert
* ci: coverage failed
* test: fix c8 ignore comment
* chore: incorrect config
* chore: fix ignore ci
* test: revert svg+xml
* test: fix realTimers
* feat: rc-trigger should be remove
* test: fix some failed test
* chore: remove unused deps and configure eslint-plugin-vitest
* test: update snap
* chore: remove jest
* test: fix lint error
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
1 year ago
Yuki Zhang
0495be222c
fix: styling issues with the Popover component within the Space.Compa… ( #41707 )
* fix: styling issues with the Popover component within the Space.Compact wrapper
* fix: styling issues with the Tooltip based component within the Space.Compact wrapper
* test: update snapshots
* test: update snapshots
* refactor: memoOverlay
* test: update snapshot
* Revert "test: update snapshot"
This reverts commit 85d8142498
.
* test: adjust check logic
* test: add test case for popover content
* test: update tooltip case
* fix: test coverage
* fix: lint
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
二货爱吃白萝卜
b1c42a3292
test: Diff of React 17 & 18 ( #41739 )
* test: prepare for 17 & 18 diff
* test: prepare for 17 & 18 diff
* test: update snapshot
* test: fix arr check
* test: update snapshot
* test: update snapshot
2 years ago
MadCcc
5d9cb2e50d
refactor: Optimize theme export and add docs ( #38902 )
* refactor: Optimize theme export and add docs
* chore: fix lint
* chore: fix lint
* chore: fix lint
2 years ago
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2 years ago
MadCcc
2471bf88aa
test: fix test
2 years ago
vagusX
760cb38dbf
fix: tsc error ( #37932 )
* fix: tsc issue
* fix: typo
2 years ago
二货爱吃白萝卜
b7634968d7
test: Use SSR for testing demo ( #37890 )
* test: Use SSR for testing demo
* chore: fix lint
* test: align with react 18
2 years ago
二货机器人
437182b2e6
test: Update snapshot
2 years ago
黑雨
01ca7c7821
test: convert demo to testing-lib ( #37381 )
* test: replace testing-lib
* test: replace testing-lib
* test: replace testing-lib
* test: update snap
* test: replace testing-lib
* test: replace testing-lib
* test: update for lint
* merge: merge
* test: testing-lib
* test: replace testing-lib
* test: testing-lib
* test: testing-lib
* test: replace testing-lib
* test: replace testing-lib
* test: Replace test aria replacment logic
* test: Update snapshot
* chore: hack for id
* test: clean up
* test: clean demo
* chore: update
* test: snapshot update
* test: fix snapshot rep logic
* test: fix snapshot rep logic
* test: fix snapshot rep logic
* chore: update demo
* test: fix snapshot rep logic
* test: Update snapshot
* test: rest snapshot
* test: update snapshot
* test: Update test case
* test: config env
* chore: clean up
* chore: Use renderServer instead
* test: adjust testing logic
* test: modify test logic
* test: split ssr test
* test: skip if need skip
* chore: ignore test file covv
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
二货机器人
ed59c7e79e
chore: fix lint
2 years ago
lijianan
db0344c85f
test: migrate part of ConfigProvider tests ( #37142 )
* test: migrate part of ConfigProvider tests
* test: migrate part of ConfigProvider tests
* test: update snap
* test: update snap
* test: migrate part of ConfigProvider tests
* fix: commented error case
* chore: update snapshot name
* test: csp test case
* test: revert test case
* test: Update snapshot
* test: Update ser logic
* test: more cov
* test: cascader snapshit
* test: update match
* test: more detact
* test: more handler
* chore: Update snapshot
* test: Table test case
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
二货爱吃白萝卜
78cca16779
chore: default hashed ( #37154 )
* chore: default hashed
* test: try for clean default hashed
* chore: clean up
* chore: fix dist
* chore: es inject
* chore: no hashed in test env
* chore: update comment
* chore: hack in jest env
* chore: try unique entry
2 years ago
二货机器人
67ccf39bd3
fix: Notification & message throw `createRoot` warning in React 18 ( #35030 )
* chore: bump notification version
* test: notification test case
* test: more test case
* test: part message test
* test: rest message test
* test: notification config test
3 years ago
afc163
b34f72b1b6
test: fix ci warnings ( #33160 )
3 years ago
Stef Schenkelaars
98e36aa036
test: add test helper for accessibility
As proposed in #22343 , the components can be automatically validated
for accessibility. This adds a test helper that runs Axe to check
for accessibility violations.
3 years ago
Eric Wang
095e21220f
chore: Introduce customer jest match to support matchRenderedSnapshot ( #22947 )
* Introduce customer jest match to support matchRenderedSnapshot
* lint:tsc stop emiting
5 years ago