mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-10 13:37:01 +03:00
11 lines
323 B
TypeScript
11 lines
323 B
TypeScript
import assert from "assert";
|
|
import { client } from "../utils/httpClient";
|
|
|
|
const endpoint = "/api/getDaysSavedFormatted";
|
|
|
|
describe("getDaysSavedFormatted", () => {
|
|
it("can get days saved", async () => {
|
|
const result = await client({ url: endpoint });
|
|
assert.ok(result.data.daysSaved >= 0);
|
|
});
|
|
}); |