diff options
| author | Wes Bos <wesbos@gmail.com> | 2018-03-14 21:00:08 -0400 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2018-03-14 21:00:08 -0400 |
| commit | bd45d4c7aac6d1c6b054185058a96b2e01669828 (patch) | |
| tree | aeee19f26cc846496213822b6b28c9aa223bc6d1 /frontend/__tests__/__snapshots__ | |
| parent | 7c760dd4d1e27180222d3d524949216e5b65194a (diff) | |
tests
Diffstat (limited to 'frontend/__tests__/__snapshots__')
| -rw-r--r-- | frontend/__tests__/__snapshots__/AddToCart.test.js.snap | 9 | ||||
| -rw-r--r-- | frontend/__tests__/__snapshots__/TakeMyMoney.test.js.snap | 18 |
2 files changed, 27 insertions, 0 deletions
diff --git a/frontend/__tests__/__snapshots__/AddToCart.test.js.snap b/frontend/__tests__/__snapshots__/AddToCart.test.js.snap new file mode 100644 index 0000000..999161c --- /dev/null +++ b/frontend/__tests__/__snapshots__/AddToCart.test.js.snap @@ -0,0 +1,9 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`<AddtoCart/> renders and matches snapshot 1`] = ` +<button + onClick={[Function]} +> + 🛒 Add To Cart +</button> +`; diff --git a/frontend/__tests__/__snapshots__/TakeMyMoney.test.js.snap b/frontend/__tests__/__snapshots__/TakeMyMoney.test.js.snap new file mode 100644 index 0000000..8c77e01 --- /dev/null +++ b/frontend/__tests__/__snapshots__/TakeMyMoney.test.js.snap @@ -0,0 +1,18 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`<TakeMyMoney /> renders 1`] = ` +<ReactStripeCheckout + ComponentClass="span" + amount={150000} + className="StripeCheckout" + currency="USD" + description="Order of 30 Items From Sick Fits" + label="Pay With Card" + locale="auto" + name="Sick Fits Haul" + reconfigureOnUpdate={false} + stripeKey="pk_lclTtThFp8CnO3QtEZSd8HA9mFUps" + token={[Function]} + triggerEvent="onClick" +/> +`; |
