-
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
7ef0b3a
commit 9f4edb2
Showing
3 changed files
with
11 additions
and
9 deletions.
There are no files selected for viewing
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
4 changes: 2 additions & 2 deletions
4
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\\"><wx-view class=\\"cube-popup--cube-popup cube-popup--cube-popup_mask cube-popup--cube-popup_transition cube-popup--cube-popup-center\\" style=\\"z-index: 900\\"><wx-view class=\\"cube-popup--cube-popup-mask\\"></wx-view><wx-view class=\\"cube-popup--cube-popup-content cube-popup--fade\\"><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></cube-popup>"`; | ||
exports[`component toast unit test base props check matchSnapshot 1`] = `"<cube-popup class=\\"main--ref_popup_1 main--cube-toast\\"><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\\"></wx-view><wx-view class=\\"cube-popup--cube-popup-content cube-popup--fade\\"><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></cube-popup>"`; | ||
exports[`component toast unit test event check matchSnapshot 1`] = `"<cube-popup class=\\"main--ref_popup_1 main--cube-toast\\"><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\\"></wx-view><wx-view class=\\"cube-popup--cube-popup-content cube-popup--fade\\"><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></cube-popup>"`; | ||
exports[`component toast unit test slot check matchSnapshot 1`] = `"<main><cube-popup class=\\"main--ref_popup_1 main--cube-toast\\"><wx-view class=\\"cube-popup--cube-popup cube-popup--cube-popup_transition cube-popup--cube-popup-center\\" style=\\"z-index: 900\\"><wx-view class=\\"cube-popup--cube-popup-mask\\"></wx-view><wx-view class=\\"cube-popup--cube-popup-content cube-popup--fade\\"><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></cube-popup></main>"`; | ||
exports[`component toast unit test slot check matchSnapshot 1`] = `"<main><cube-popup class=\\"main--ref_popup_1 main--cube-toast\\"><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-mask\\"></wx-view><wx-view class=\\"cube-popup--cube-popup-content cube-popup--fade\\"><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></cube-popup></main>"`; |
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