Files
iNaturalistReactNative/__mocks__/vision-camera-plugin-inatvision.ts
Ryan Stelly b78be9243d lint rule & autofix for "trailing comma" (#3299)
* (lint) MOB-1063 enforce trailing commas

* autofix trailing commas

* manually fix newly introduced maxlen violations

* add trailing comma convention to i18n build
2025-12-22 20:17:13 -06:00

22 lines
602 B
TypeScript

export const getPredictionsForImage = jest.fn( () => Promise.resolve( {
predictions: [],
commonAncestor: undefined,
} ) );
export const getPredictionsForLocation = jest.fn( () => Promise.resolve( { predictions: [] } ) );
export const removeLogListener = jest.fn( );
export const resetStoredResults = jest.fn( );
export const getCellLocation = jest.fn( location => ( {
...location,
elevation: 12,
} ) );
export const MODE = {
BEST_BRANCH: "BEST_BRANCH",
COMMON_ANCESTOR: "COMMON_ANCESTOR",
};
export const COMMON_ANCESTOR_RANK_TYPE = {
MAJOR: "major",
UNRESTRICTED: "unrestricted",
};