add tests #3374
test_and_deploy.yml
on: push
Annotations
6 errors
tests/unit/components/Transaction.spec.js > Transaction.vue > Should display parsed error messages:
tests/unit/components/Transaction.spec.js#L105
Error: Snapshot `Transaction.vue > Should display parsed error messages 1` mismatched
- Expected
+ Received
@@ -75,11 +75,11 @@
<div data-v-a8515013="" class="v-row mb-4">
<div data-v-a8515013="" class="v-col-sm-12 v-col-md-6 v-col-lg-2 v-col">
<div data-v-a8515013="" class="text-overline">Gas Used</div><span data-v-a8515013="">43,713</span>
</div>
<div data-v-a8515013="" class="v-col-sm-12 v-col-md-6 v-col-lg-2 v-col">
- <div data-v-a8515013="" class="text-overline">Gas Price</div> 59 gwei
+ <div data-v-a8515013="" class="text-overline">Gas Price</div> 59 ETH
</div>
<div data-v-a8515013="" class="v-col-sm-12 v-col-md-6 v-col-lg-2 v-col">
<div data-v-a8515013="" class="text-overline">Cost</div><span data-v-a8515013="">0.002579067 ETH</span>
</div>
<div data-v-a8515013="" class="v-col-sm-12 v-col-md-6 v-col-lg-2 v-col">
❯ tests/unit/components/Transaction.spec.js:105:32
|
tests/unit/components/Transaction.spec.js > Transaction.vue > Should display raw error messages:
tests/unit/components/Transaction.spec.js#L131
Error: Snapshot `Transaction.vue > Should display raw error messages 1` mismatched
- Expected
+ Received
@@ -77,11 +77,11 @@
<div data-v-a8515013="" class="v-row mb-4">
<div data-v-a8515013="" class="v-col-sm-12 v-col-md-6 v-col-lg-2 v-col">
<div data-v-a8515013="" class="text-overline">Gas Used</div><span data-v-a8515013="">43,713</span>
</div>
<div data-v-a8515013="" class="v-col-sm-12 v-col-md-6 v-col-lg-2 v-col">
- <div data-v-a8515013="" class="text-overline">Gas Price</div> 59 gwei
+ <div data-v-a8515013="" class="text-overline">Gas Price</div> 59 ETH
</div>
<div data-v-a8515013="" class="v-col-sm-12 v-col-md-6 v-col-lg-2 v-col">
<div data-v-a8515013="" class="text-overline">Cost</div><span data-v-a8515013="">0.002579067 ETH</span>
</div>
<div data-v-a8515013="" class="v-col-sm-12 v-col-md-6 v-col-lg-2 v-col">
❯ tests/unit/components/Transaction.spec.js:131:32
|
tests/unit/components/Transaction.spec.js > Transaction.vue > Should not display the menu if public explorer:
tests/unit/components/Transaction.spec.js#L160
Error: Snapshot `Transaction.vue > Should not display the menu if public explorer 1` mismatched
- Expected
+ Received
@@ -36,11 +36,11 @@
<div data-v-a8515013="" class="v-row mb-4">
<div data-v-a8515013="" class="v-col-sm-12 v-col-md-6 v-col-lg-2 v-col">
<div data-v-a8515013="" class="text-overline">Gas Used</div><span data-v-a8515013="">43,713</span>
</div>
<div data-v-a8515013="" class="v-col-sm-12 v-col-md-6 v-col-lg-2 v-col">
- <div data-v-a8515013="" class="text-overline">Gas Price</div> 59 gwei
+ <div data-v-a8515013="" class="text-overline">Gas Price</div> 59 ETL
</div>
<div data-v-a8515013="" class="v-col-sm-12 v-col-md-6 v-col-lg-2 v-col">
<div data-v-a8515013="" class="text-overline">Cost</div><span data-v-a8515013="">0.002579067 ETL</span>
</div>
<div data-v-a8515013="" class="v-col-sm-12 v-col-md-6 v-col-lg-2 v-col">
❯ tests/unit/components/Transaction.spec.js:160:32
|
tests/unit/filters/FromWei.spec.js > FromWei > Convert to given unit & format:
tests/unit/filters/FromWei.spec.js#L11
AssertionError: expected '1,000,000,000 ether' to deeply equal '1,000,000,000 gwei'
Expected: "1,000,000,000 gwei"
Received: "1,000,000,000 ether"
❯ tests/unit/filters/FromWei.spec.js:11:24
|
tests/unit/filters/FromWei.spec.js > FromWei > Convert to given unit & format even with a native token passed:
tests/unit/filters/FromWei.spec.js#L21
AssertionError: expected '1,000,000,000 Matic' to deeply equal '1,000,000,000 gwei'
Expected: "1,000,000,000 gwei"
Received: "1,000,000,000 Matic"
❯ tests/unit/filters/FromWei.spec.js:21:24
|
test_front
Process completed with exit code 1.
|