mirror of
https://github.com/zhigang1992/react.git
synced 2026-04-27 19:25:05 +08:00
test: update snapshots
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`Backdrop should render correctly 1`] = `
|
||||
"<div class=\\"backdrop transition-enter\\"><div class=\\"layer\\"></div><div class=\\"content\\"><span>test-value</span></div><div class=\\"offset\\"></div><style>
|
||||
"<div class=\\"backdrop backdrop-wrapper-enter\\"><div class=\\"layer\\"></div><div class=\\"content\\"><span>test-value</span></div><div class=\\"offset\\"></div><style>
|
||||
.backdrop {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
@@ -47,5 +47,21 @@ exports[`Backdrop should render correctly 1`] = `
|
||||
pointer-events: none;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.backdrop-wrapper-enter .layer {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.backdrop-wrapper-enter-active .layer {
|
||||
opacity: 0.25;
|
||||
}
|
||||
|
||||
.backdrop-wrapper-leave .layer {
|
||||
opacity: 0.25;
|
||||
}
|
||||
|
||||
.backdrop-wrapper-leave-active .layer {
|
||||
opacity: 0;
|
||||
}
|
||||
</style></div>"
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user