Skip to content

Commit

Permalink
serve more files in median test
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielJDufour committed May 12, 2024
1 parent 4017f1f commit 56c9e16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/median/median.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { serve } from "srvd";
import load from "../load";
import median from ".";

serve({ debug: true, max: 1, port: 3000 });
serve({ debug: true, max: 6, port: 3000 });

const url = "http://localhost:3000/data/test.tiff";

Expand Down Expand Up @@ -79,7 +79,7 @@ test("Get Median from Whole Raster from url", async ({ eq }) => {
eq(value, 0);
});

test("virtual resampling, contained", async ({ eq }) => {
test("Get Median with virtual resampling, contained", async ({ eq }) => {
const url = "http://localhost:3000/data/geotiff-test-data/nz_habitat_anticross_4326_1deg.tif";
const geojson = await fetch("http://localhost:3000/data/virtual-resampling/virtual-resampling-one.geojson").then(res => res.json());
const result = await median(url, geojson);
Expand Down

0 comments on commit 56c9e16

Please sign in to comment.