import "@testing-library/jest-dom";
import { queryOMDb } from "../src/api/omdb.ts";

test("queryOMDb returns movie data", async () => {
  const data = await queryOMDb("s=back to");

  expect(data).toHaveProperty("Response");
});
