-
Notifications
You must be signed in to change notification settings - Fork 70
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
fb154dd
commit 99d32a6
Showing
80 changed files
with
1,246 additions
and
485 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
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
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
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
...A/cartridge/client/default/js/adyen_checkout/__tests__/__snapshots__/helpers.test.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,8 +1,8 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Helpers should make payment ajax call that fails 1`] = ` | ||
Object { | ||
"data": Object {}, | ||
{ | ||
"data": {}, | ||
"paymentMethod": "mocked_paymentMethod", | ||
} | ||
`; |
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
98 changes: 98 additions & 0 deletions
98
...nt/default/js/adyen_checkout/__tests__/__snapshots__/renderGiftcardComponent.test.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 |
---|---|---|
@@ -0,0 +1,98 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Render gift card should render a select form 1`] = ` | ||
<select | ||
id="giftCardSelect" | ||
> | ||
<option | ||
style="visibility: hidden;" | ||
value="mocked_brand1" | ||
/> | ||
<option | ||
style="visibility: hidden;" | ||
value="mocked_brand2" | ||
/> | ||
</select> | ||
`; | ||
|
||
exports[`Render gift card should render a select form 2`] = ` | ||
<ul | ||
id="giftCardUl" | ||
> | ||
<li | ||
data-brand="mocked_brand1" | ||
data-name="undefined" | ||
data-type="giftcard" | ||
> | ||
<span /> | ||
<img | ||
height="26" | ||
src="test_image_pathmocked_brand1.png" | ||
width="40" | ||
/> | ||
</li> | ||
<li | ||
data-brand="mocked_brand2" | ||
data-name="undefined" | ||
data-type="giftcard" | ||
> | ||
<span /> | ||
<img | ||
height="26" | ||
src="test_image_pathmocked_brand2.png" | ||
width="40" | ||
/> | ||
</li> | ||
</ul> | ||
`; | ||
|
||
exports[`Render gift card should render applied gift cards 1`] = ` | ||
<ul | ||
id="giftCardsList" | ||
> | ||
<div | ||
class="gift-card" | ||
> | ||
<div | ||
class="wrapper" | ||
> | ||
<div | ||
class="brand-container" | ||
> | ||
<img | ||
class="gift-card-logo" | ||
src="test_image_pathbrand.png" | ||
/> | ||
<p /> | ||
</div> | ||
<div | ||
class="gift-card-action" | ||
> | ||
<a /> | ||
</div> | ||
</div> | ||
<div | ||
class="wrapper" | ||
> | ||
<p /> | ||
<strong /> | ||
</div> | ||
</div> | ||
</ul> | ||
`; | ||
|
||
exports[`Render gift card should show a warning message if more items are added to cart later 1`] = ` | ||
<div | ||
class="card-body order-total-summary" | ||
> | ||
<div | ||
class="alert alert-warning error-message gift-card-warning-msg" | ||
id="giftCardWarningMessage" | ||
role="alert" | ||
> | ||
<p | ||
class="error-message-text" | ||
/> | ||
</div> | ||
</div> | ||
`; |
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
3 changes: 3 additions & 0 deletions
3
...n_SFRA/cartridge/client/default/js/adyen_checkout/__tests__/checkoutConfiguration.test.js
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
Oops, something went wrong.