• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

input-output-hk / lace / 8521260523

02 Apr 2024 10:25AM UTC coverage: 50.577%. Remained the same
8521260523

push

github

web-flow
test(extension): add tests for LW-10143, LW-10147, LW-10148, LW-10149 (#994)

* test(extension): add tests for LW-10143, LW-10147, LW-10148, LW-10149

* test(extension): make LW-2550 and LW-2561 more stable

* test(extension): adjust timeout

2172 of 5359 branches covered (40.53%)

Branch coverage included in aggregate %.

5146 of 9110 relevant lines covered (56.49%)

52.17 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/apps/browser-extension-wallet/src/components/DataCheckContainer/CorruptedData.tsx
1
import React from 'react';
×
2
import { useTranslation } from 'react-i18next';
×
3
import { AppMode } from '@src/utils/constants';
4
import { ResetDataError } from '@components/ResetDataError';
×
5

6
export interface CorruptedDataProps {
7
  appMode: AppMode;
8
}
9

10
export const CorruptedData = ({ appMode }: CorruptedDataProps): React.ReactElement => {
×
11
  const { t } = useTranslation();
×
12

13
  return (
×
14
    <ResetDataError
15
      appMode={appMode}
16
      description={
17
        <>
18
          <div>{t('corruptedData.errorDescription')}</div>
19
          <div>
20
            <b>{t('corruptedData.actionDescription')}</b>
21
          </div>
22
        </>
23
      }
24
      title={<div>{t('corruptedData.title')}</div>}
25
      buttonLabel={t('corruptedData.btn.confirm')}
26
    />
27
  );
28
};
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc