Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
bdon committed Feb 5, 2024
1 parent f133194 commit 7ad630d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/test/MapViewComponent.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import { expect, test } from "vitest";
test("checks valid tiles value", () => {
expect(isValidPMTiles("local.pmtiles")).toBe(true);
expect(isValidPMTiles("http://example.com/remote.pmtiles")).toBe(true);
expect(isValidPMTiles("http://example.com/remote.pmtiles?abc=def")).toBe(true);
expect(isValidPMTiles("http://example.com/remote.pmtiles?abc=def")).toBe(
true,
);
expect(isValidPMTiles("invalid")).toBe(false);
expect(isValidPMTiles("invalid.pmtiles?abc=def")).toBe(false);
});

0 comments on commit 7ad630d

Please sign in to comment.