"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
 * @jest-environment jsdom
 */
const react_1 = require("@testing-library/react");
const useBatteryStatuses_1 = require("./useBatteryStatuses");
describe("useBatteryStatuses", () => {
    it("should return an initial cancelRequest method that is callable", async () => {
        const { result } = (0, react_1.renderHook)(() => (0, useBatteryStatuses_1.useBatteryStatuses)({ statuses: [] }));
        expect(() => result.current.cancelRequest()).not.toThrow();
    });
});
//# sourceMappingURL=useBatteryStatuses.test.js.map