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

mozilla / fx-private-relay / c662c4b5-245a-452a-bab6-0a5e9260a46a

17 Apr 2024 03:26PM CUT coverage: 75.617% (+0.08%) from 75.54%
c662c4b5-245a-452a-bab6-0a5e9260a46a

push

circleci

web-flow
Merge pull request #4590 from mozilla/browsable-api-mpp-3786

MPP-3786: Add type hints, make changes for browsable API

2463 of 3426 branches covered (71.89%)

Branch coverage included in aggregate %.

72 of 73 new or added lines in 6 files covered. (98.63%)

6816 of 8845 relevant lines covered (77.06%)

19.98 hits per line

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

0.0
/frontend/src/components/ReactAriaI18nProvider.tsx
1
import { ReactChild } from "react";
2
import { I18nProvider } from "react-aria";
×
3
import { getLocale } from "../functions/getLocale";
×
4
import { useL10n } from "../hooks/l10n";
×
5

6
/**
7
 * React-aria has some components (e.g. `<DismissButton>`) that include their
8
 * own strings. This component ensures that they use the same locale as the
9
 * rest of the application does.
10
 */
11
export const ReactAriaI18nProvider = (props: { children: ReactChild }) => {
×
12
  const l10n = useL10n();
×
13
  const locale = getLocale(l10n);
×
14

15
  return <I18nProvider locale={locale}>{props.children}</I18nProvider>;
16
};
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