-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
757b6d4
commit 907a11e
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
6 changes: 3 additions & 3 deletions
6
packages/mpx-cube-ui/__tests__/components/toast/__snapshots__/toast.spec.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`component toast unit test base props check matchSnapshot 1`] = `"<cube-popup class=\\"main--ref_popup_1 main--cube-toast\\" data-eventconfigs=\\"[object Object]\\"><wx-view class=\\"cube-popup--cube-popup cube-popup--cube-popup_mask cube-popup--cube-popup_transition cube-popup--cube-popup-center cube-popup--show\\" style=\\"z-index: 900\\"><wx-view class=\\"cube-popup--cube-popup-mask\\" style=\\"\\"></wx-view><wx-view class=\\"cube-popup--cube-popup-content cube-popup--fade\\" style=\\"\\"><wx-view class=\\"main--cube-toast-content\\"><wx-view class=\\"main--toast-slot-icon\\"></wx-view><cube-icon class=\\"main--cube-toast-icon\\"><wx-view class=\\"cube-icon--cubeic cube-icon--cubeic cube-icon--cubeic-delete\\" style=\\"\\"></wx-view></cube-icon><wx-view class=\\"main--cube-toast-tip\\">hello toast</wx-view></wx-view></wx-view></wx-view></cube-popup>"`; | ||
exports[`component toast unit test base props check matchSnapshot 1`] = `"<cube-popup class=\\"main--ref_popup_1 main--cube-toast\\" data-eventconfigs=\\"[object Object]\\"><wx-view class=\\"cube-popup--cube-popup cube-popup--cube-popup_mask cube-popup--cube-popup_transition cube-popup--cube-popup-center cube-popup--show\\" style=\\"z-index: 900\\"><wx-view class=\\"cube-popup--cube-popup-mask\\" style=\\"\\"></wx-view><wx-view class=\\"cube-popup--cube-popup-content cube-popup--fade\\" style=\\"\\"><wx-view class=\\"main--cube-toast-content\\"><wx-view class=\\"main--toast-slot-icon\\"></wx-view><cube-icon class=\\"main--cube-toast-icon\\"><wx-view class=\\"cube-icon--cubeic cube-icon--cubeic cube-icon--cubeic-delete\\" style=\\"\\"></wx-view></cube-icon><wx-view class=\\"main--cube-toast-tip\\" style=\\"display:none;\\">hello toast</wx-view></wx-view></wx-view></wx-view></cube-popup>"`; | ||
exports[`component toast unit test event check matchSnapshot 1`] = `"<cube-popup class=\\"main--ref_popup_1 main--cube-toast\\" data-eventconfigs=\\"[object Object]\\"><wx-view class=\\"cube-popup--cube-popup cube-popup--cube-popup_mask cube-popup--cube-popup_transition cube-popup--cube-popup-center cube-popup--show\\" style=\\"z-index: 900\\"><wx-view class=\\"cube-popup--cube-popup-mask\\" style=\\"\\"></wx-view><wx-view class=\\"cube-popup--cube-popup-content cube-popup--fade\\" style=\\"\\"><wx-view class=\\"main--cube-toast-content\\"><wx-view class=\\"main--toast-slot-icon\\"></wx-view><cube-icon class=\\"main--cube-toast-icon\\"><wx-view class=\\"cube-icon--cubeic cube-icon--cubeic cube-icon--cubeic-delete\\" style=\\"\\"></wx-view></cube-icon><wx-view class=\\"main--cube-toast-tip\\">hello toast</wx-view></wx-view></wx-view></wx-view></cube-popup>"`; | ||
exports[`component toast unit test event check matchSnapshot 1`] = `"<cube-popup class=\\"main--ref_popup_1 main--cube-toast\\" data-eventconfigs=\\"[object Object]\\"><wx-view class=\\"cube-popup--cube-popup cube-popup--cube-popup_mask cube-popup--cube-popup_transition cube-popup--cube-popup-center cube-popup--show\\" style=\\"z-index: 900\\"><wx-view class=\\"cube-popup--cube-popup-mask\\" style=\\"\\"></wx-view><wx-view class=\\"cube-popup--cube-popup-content cube-popup--fade\\" style=\\"\\"><wx-view class=\\"main--cube-toast-content\\"><wx-view class=\\"main--toast-slot-icon\\"></wx-view><cube-icon class=\\"main--cube-toast-icon\\"><wx-view class=\\"cube-icon--cubeic cube-icon--cubeic cube-icon--cubeic-delete\\" style=\\"\\"></wx-view></cube-icon><wx-view class=\\"main--cube-toast-tip\\" style=\\"display:none;\\">hello toast</wx-view></wx-view></wx-view></wx-view></cube-popup>"`; | ||
exports[`component toast unit test slot check matchSnapshot 1`] = `"<main><cube-popup class=\\"main--ref_popup_1 main--cube-toast\\" data-eventconfigs=\\"[object Object]\\"><wx-view class=\\"cube-popup--cube-popup cube-popup--cube-popup_transition cube-popup--cube-popup-center cube-popup--show\\" style=\\"z-index: 900\\"><wx-view class=\\"cube-popup--cube-popup-content cube-popup--fade\\" style=\\"\\"><wx-view class=\\"main--cube-toast-content\\"><wx-view class=\\"main--toast-slot-icon\\"><wx-image class=\\"custom-img\\"><wx-view class=\\"my-image\\">https://dpubstatic.udache.com/static/dpubimg/c40384a2-25ef-4781-8e08-44447823d861.png</wx-view></wx-image></wx-view><wx-view class=\\"main--cube-toast-tip\\">请输入乘车人手机号</wx-view></wx-view></wx-view></wx-view></cube-popup></main>"`; | ||
exports[`component toast unit test slot check matchSnapshot 1`] = `"<main><cube-popup class=\\"main--ref_popup_1 main--cube-toast\\" data-eventconfigs=\\"[object Object]\\"><wx-view class=\\"cube-popup--cube-popup cube-popup--cube-popup_transition cube-popup--cube-popup-center cube-popup--show\\" style=\\"z-index: 900\\"><wx-view class=\\"cube-popup--cube-popup-content cube-popup--fade\\" style=\\"\\"><wx-view class=\\"main--cube-toast-content\\"><wx-view class=\\"main--toast-slot-icon\\"><wx-image class=\\"custom-img\\"><wx-view class=\\"my-image\\">https://dpubstatic.udache.com/static/dpubimg/c40384a2-25ef-4781-8e08-44447823d861.png</wx-view></wx-image></wx-view><wx-view class=\\"main--cube-toast-tip\\" style=\\"display:none;\\">请输入乘车人手机号</wx-view></wx-view></wx-view></wx-view></cube-popup></main>"`; |