UNPKG

upbeatradio

Version:

Easily interact with UpBeatRadio.net API

23 lines 726 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var index_1 = require("../index"); var Client = new index_1.UpBeatClient(); test("UpBeatStats", function () { Client.getStats().then(function (_a) { var data = _a.data; expect(data).toHaveProperty("listeners"); }); }); test("RecentlyPlayed", function () { Client.getRecentlyPlayed().then(function (_a) { var data = _a.data; expect(data[0]).toHaveProperty("title"); }); }); test("Booked", function () { Client.getBooked().then(function (_a) { var data = _a.data; expect(data[0]).toHaveProperty("name"); }); }); //# sourceMappingURL=UpBeatClient.test.js.map