explorer: add tests for +page.svelte
routes
#671
Annotations
3 errors
Run the test suite:
explorer/src/routes/blocks/block/__tests__/page.spec.js#L43
Error: Snapshot `Block Details > should render the Block Details page and query the necessary info 2` mismatched
- Expected
+ Received
@@ -157,11 +157,11 @@
<time
class="block-details__list-timestamp"
datetime="2024-04-16T20:07:02.000Z"
slot="definition"
>
- last month
+ Tue, 16 Apr 2024 20:07:02 GMT (last month)
</time>
</dd>
<!--<ListItem>-->
<dt
❯ src/routes/blocks/block/__tests__/page.spec.js:43:34
|
Run the test suite:
explorer/src/routes/transactions/transaction/__tests__/page.spec.js#L62
Error: Snapshot `Transaction Details > should render the Transaction details page and query the necessary info 2` mismatched
- Expected
+ Received
@@ -155,13 +155,11 @@
<time
class="transaction-details__list-timestamp"
datetime="2024-04-16T06:39:09.000Z"
slot="definition"
>
- last month
-
- Tue, 16 Apr 2024 06:39:09 GMT
+ Tue, 16 Apr 2024 06:39:09 GMT (last month)
</time>
</dd>
<!--<ListItem>-->
<dt
❯ src/routes/transactions/transaction/__tests__/page.spec.js:62:34
|
Run the test suite
Process completed with exit code 1.
|
Loading