"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const supertest_1 = __importDefault(require("supertest"));
const src_1 = require("../src"); // Ensure this is the correct path to your Express app
describe("Express API Tests", () => {
    it("should return a random spell on GET /", async () => {
        const res = await (0, supertest_1.default)(src_1.app).get("/");
        expect(res.status).toBe(200);
        expect(res.body).toHaveProperty("message");
    });
});
