first commit

This commit is contained in:
2026-03-10 16:18:05 +00:00
commit 11f9c069b5
31635 changed files with 3187747 additions and 0 deletions

25
node_modules/expo-font/mocks/ExpoFontLoader.ts generated vendored Normal file
View File

@@ -0,0 +1,25 @@
import type { ExpoFontLoaderModule } from '../src/ExpoFontLoader';
export const loadAsync: ExpoFontLoaderModule['loadAsync'] = jest.fn(async function mockLoadAsync(
fontFamilyName: string,
localUriOrWebAsset: any
): Promise<void> {
return Promise.resolve();
});
export const getLoadedFonts: ExpoFontLoaderModule['getLoadedFonts'] = jest.fn(
function mockGetLoadedFonts() {
return [];
}
);
// the below are used only on web
const mod = jest.requireActual('../src/ExpoFontLoader.web');
export const unloadAllAsync: ExpoFontLoaderModule['unloadAllAsync'] = jest.fn(
mod.default.unloadAllAsync
);
export const unloadAsync: ExpoFontLoaderModule['unloadAsync'] = jest.fn(mod.default.unloadAsync);
export const isLoaded: ExpoFontLoaderModule['isLoaded'] = jest.fn(mod.default.isLoaded);

15
node_modules/expo-font/mocks/ExpoFontUtils.ts generated vendored Normal file
View File

@@ -0,0 +1,15 @@
import type { RenderToImageResult } from '../src/FontUtils.types';
export type RenderToImageOptions = any;
export async function renderToImageAsync(
glyphs: string,
options: RenderToImageOptions
): Promise<RenderToImageResult> {
return {
width: 0,
height: 0,
scale: 1,
uri: '',
};
}