File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,30 +21,6 @@ describe("GET /extremes", () => {
2121 expect ( Array . isArray ( response . body . extremes ) ) . toBe ( true ) ;
2222 } ) ;
2323
24- test ( "accepts latitude/longitude parameter variations" , async ( ) => {
25- const response = await request ( app ) . get ( "/extremes" ) . query ( {
26- latitude : 26.772 ,
27- longitude : - 80.05 ,
28- start : "2025-12-17T00:00:00Z" ,
29- end : "2025-12-18T00:00:00Z" ,
30- } ) ;
31-
32- expect ( response . status ) . toBe ( 200 ) ;
33- expect ( response . body ) . toHaveProperty ( "extremes" ) ;
34- } ) ;
35-
36- test ( "accepts lng parameter" , async ( ) => {
37- const response = await request ( app ) . get ( "/extremes" ) . query ( {
38- latitude : 26.772 ,
39- longitude : - 80.05 ,
40- start : "2025-12-17T00:00:00Z" ,
41- end : "2025-12-18T00:00:00Z" ,
42- } ) ;
43-
44- expect ( response . status ) . toBe ( 200 ) ;
45- expect ( response . body ) . toHaveProperty ( "extremes" ) ;
46- } ) ;
47-
4824 test ( "accepts datum parameter" , async ( ) => {
4925 const response = await request ( app ) . get ( "/extremes" ) . query ( {
5026 latitude : 26.772 ,
You can’t perform that action at this time.
0 commit comments