From 02502dae7c2d5e40191a525f5d510a979df16f61 Mon Sep 17 00:00:00 2001 From: Matt Jensen Date: Sat, 21 Oct 2023 15:06:33 -0500 Subject: [PATCH] feat: FlightDisplay component. --- __tests__/OpenSkyClient.test.ts | 4 ---- src/FlightDisplay.tsx | 7 +++++++ 2 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 src/FlightDisplay.tsx diff --git a/__tests__/OpenSkyClient.test.ts b/__tests__/OpenSkyClient.test.ts index ff91d4f..6bee969 100644 --- a/__tests__/OpenSkyClient.test.ts +++ b/__tests__/OpenSkyClient.test.ts @@ -7,10 +7,6 @@ import {DateTime} from "luxon"; describe("OpenSkyClient", () => { describe("getAircraftPositions()", () => { - test("test", () => { - const check = DateTime.fromISO("2023-10-21T16:30:00Z", {setZone: true}); - console.dir(DateTime.now().diff(check).toMillis()); - }); test("Empty Mode-S code array", async () => { const instance = OpenSkyClient.create(); expect(await instance.getPositions([])).toStrictEqual({}); diff --git a/src/FlightDisplay.tsx b/src/FlightDisplay.tsx new file mode 100644 index 0000000..cf2e8da --- /dev/null +++ b/src/FlightDisplay.tsx @@ -0,0 +1,7 @@ +import * as React from "react"; + +export function FlightDisplay() { + return ( +

FLight Display

+ ); +}