This repository was archived by the owner on Mar 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
This repository was archived by the owner on Mar 28, 2023. It is now read-only.
Tests fail on main #91
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
yarn test fails with an error on dashBoardTest:
FAIL src/__tests__/dashboardTest.tsx
● Non-Isolated Server <Dashboard /> › matches snapshot
expect(received).toMatchSnapshot()
Snapshot name: `Non-Isolated Server <Dashboard /> matches snapshot 1`
- Snapshot
+ Received
@@ -295,66 +295,10 @@
</ValTxnList>
</div>
</Col>
</div>
</Row>
- <Row
- className="mt-3"
- noGutters={false}
- >
- <div
- className="mt-3 row"
- >
- <Col
- className="p-0"
- >
- <div
- className="p-0 col"
- >
- <PendTxnList>
- <Card
- body={false}
- className="pendtxlist-card"
- >
- <div
- className="pendtxlist-card card"
- >
- <CardHeader>
- <div
- className="card-header"
- >
- <div
- className="pendtxlist-card-header"
- >
- <span>
- Pending Transactions
- </span>
- </div>
- </div>
- </CardHeader>
- <CardBody>
- <div
- className="card-body"
- >
- <Spinner
- animation="border"
- role="status"
- >
- <div
- className="spinner-border"
- role="status"
- />
- </Spinner>
- </div>
- </CardBody>
- </div>
- </Card>
- </PendTxnList>
- </div>
- </Col>
- </div>
- </Row>
</div>
</Container>
</div>
</Dashboard>
</Router>
46 |
47 | it('matches snapshot', () => {
> 48 | expect(dashboard).toMatchSnapshot()
| ^
49 | })
50 |
51 | })
at Object.<anonymous> (src/__tests__/dashboardTest.tsx:48:23)
We should fix the failed test and add tests to the CI.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working