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

JedWatson / react-select / 970e2443-b3c3-47dc-a3e6-fbe00185e630

11 Jul 2025 12:42PM UTC coverage: 75.789%. Remained the same
970e2443-b3c3-47dc-a3e6-fbe00185e630

Pull #6052

circleci

github-actions[bot]
Version Packages
Pull Request #6052: Version Packages

659 of 1054 branches covered (62.52%)

1033 of 1363 relevant lines covered (75.79%)

1933.28 hits per line

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

0.0
/packages/react-select/src/NonceProvider.tsx
1
import * as React from 'react';
2
import { useMemo } from 'react';
3
import { ReactNode } from 'react';
4
import { CacheProvider } from '@emotion/react';
5
import createCache from '@emotion/cache';
6

7
interface NonceProviderProps {
8
  nonce: string;
9
  children: ReactNode;
10
  cacheKey: string;
11
}
12

13
export default ({ nonce, children, cacheKey }: NonceProviderProps) => {
14
  const emotionCache = useMemo(
×
15
    () => createCache({ key: cacheKey, nonce }),
×
16
    [cacheKey, nonce]
17
  );
18
  return <CacheProvider value={emotionCache}>{children}</CacheProvider>;
×
19
};
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