Change frontend deps

This commit is contained in:
2025-03-09 03:20:38 +01:00
parent ec6c0cc45b
commit 5ade1c0593
8 changed files with 4856 additions and 62 deletions

View File

@@ -0,0 +1,17 @@
import { DummyApiaryAPIClient, TotalStats } from "../js/api";
describe("DummyApiaryAPIClient", () => {
const api = new DummyApiaryAPIClient()
test("totals returns expeced value", async () => {
let totals = await api.totals()
const expected: TotalStats = {
password: 1,
username: 1,
ip: 1,
attempts: 1,
country: 1,
}
expect(totals).toEqual(expected)
})
});