feat(poup): mounted后才显示,避免ssr下mismatch #2493
pull-request.yml
on: pull_request
call-test-build
/
check
6s
call-test-build
/
test
2m 54s
call-test-build
/
site
2m 11s
call-test-build
/
build
4m 48s
Annotations
3 errors
src/calendar/__test__/index.test.jsx > calendar > props > : type:
src/calendar/__test__/index.test.jsx#L98
AssertionError: expected '2022-1-15' to deeply equal '2022-1-9'
Expected: "2022-1-9"
Received: "2022-1-15"
❯ src/calendar/__test__/index.test.jsx:98:26
|
src/calendar/__test__/index.test.jsx > calendar > events > : onSelect:
src/calendar/__test__/index.test.jsx#L192
AssertionError: expected RefImpl{ __v_isShallow: false, …(4) } to deeply equal RefImpl{ __v_isShallow: false, …(4) }
- Expected
+ Received
RefImpl {
"__v_isRef": true,
"__v_isShallow": false,
- "_rawValue": "2022-1-15",
- "_value": "2022-1-15",
+ "_rawValue": "2022-1-3",
+ "_value": "2022-1-3",
"dep": undefined,
}
❯ src/calendar/__test__/index.test.jsx:192:26
|
call-test-build / test
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
_site
Expired
|
2.33 MB |
|
pr
|
139 Bytes |
|