mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2025-12-23 22:18:36 -05:00
* (lint) MOB-1063 enforce trailing commas * autofix trailing commas * manually fix newly introduced maxlen violations * add trailing comma convention to i18n build
22 lines
602 B
TypeScript
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",
|
|
};
|