diff --git a/__tests__/components/Style.test.js b/__tests__/components/Style.test.js deleted file mode 100644 index 54a789433..000000000 --- a/__tests__/components/Style.test.js +++ /dev/null @@ -1,261 +0,0 @@ -import { render } from "@testing-library/react-native"; -import React from "react"; - -import BackgroundLayer from "../../src/components/BackgroundLayer"; -import CircleLayer from "../../src/components/CircleLayer"; -import FillExtrusionLayer from "../../src/components/FillExtrusionLayer"; -import FillLayer from "../../src/components/FillLayer"; -import HeatmapLayer from "../../src/components/HeatmapLayer"; -import ImageSource from "../../src/components/ImageSource"; -import LineLayer from "../../src/components/LineLayer"; -import RasterLayer from "../../src/components/RasterLayer"; -import RasterSource from "../../src/components/RasterSource"; -import ShapeSource from "../../src/components/ShapeSource"; -import Style from "../../src/components/Style"; -import SymbolLayer from "../../src/components/SymbolLayer"; -import VectorSource from "../../src/components/VectorSource"; - -describe("Style", () => { - test("renders vectory source correctly", () => { - const vectorSource = { - type: "vector", - url: "https://demotiles.maplibre.org/tiles/tiles.json", - tiles: ["http://host1", "http://host2"], - minzoom: 1, - maxzoom: 22, - attribution: "Copyright", - scheme: "tms", - }; - - const json = { - layers: [], - sources: { - vectorSource, - }, - }; - - const { UNSAFE_getByType } = render(