mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2026-06-20 05:28:29 -04:00
13 lines
425 B
JavaScript
13 lines
425 B
JavaScript
import Observation from "realmModels/Observation";
|
|
|
|
describe( "Observation", ( ) => {
|
|
describe( "mapObservationForUpload", ( ) => {
|
|
// observed_on is set by the server, clients specify the date with observed_on_string
|
|
it( "should not include observed_on", ( ) => {
|
|
expect(
|
|
Observation.mapObservationForUpload( { observed_on: "2020-01-01" } ).observed_on
|
|
).toBeUndefined( );
|
|
} );
|
|
} );
|
|
} );
|