Network Policy List Spec jest spec failure
Job #685105954 failed for 98966a68:
yarn jest -- ee/spec/frontend/threat_monitoring/components/network_policy_list_spec.js
FAIL ee/spec/frontend/threat_monitoring/components/network_policy_list_spec.js (29.225s)
● NetworkPolicyList component › renders policies table
expect(received).toMatchSnapshot()
Snapshot name: `NetworkPolicyList component renders policies table 1`
- Snapshot
+ Received
@@ -83,11 +83,11 @@
data-label="Last modified"
role="cell"
>
<div>
- 3 months ago
+ 4 months ago
</div>
</td>
</tr>
<tr
82 |
83 | it('renders policies table', () => {
> 84 | expect(findPoliciesTable().element).toMatchSnapshot();
| ^
85 | });
86 |
87 | it('renders closed editor drawer', () => {
at Object.toMatchSnapshot (ee/spec/frontend/threat_monitoring/components/network_policy_list_spec.js:84:41)
Snapshot Summary
› 1 snapshot failed from 1 test suite. Inspect your code changes or run `yarn run jest -u` to update them.
Test Suites: 1 failed, 493 passed, 494 total
Tests: 1 failed, 5611 passed, 5612 total
Snapshots: 1 failed, 96 passed, 97 total
Edited by Kyle Wiebers