MCPcopy Create free account
hub / github.com/callstack/react-native-paper / loadFonts

Function loadFonts

src/styles/__tests__/fonts.test.js:132–146  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130};
131
132const loadFonts = () => {
133 let configureFonts;
134 let fontConfig;
135 let typescale;
136
137 jest.isolateModules(() => {
138 const fonts = require('../fonts');
139 configureFonts = fonts.default;
140 fontConfig = fonts.fontConfig;
141
142 typescale = require('../themes/v3/tokens').typescale;
143 });
144
145 return { configureFonts, fontConfig, typescale };
146};
147
148describe('configureFonts', () => {
149 afterEach(() => {

Callers 1

fonts.test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…