neet/masto.js

View on GitHub
tests/rest/v1/suggestions.spec.ts

Summary

Maintainability
A
0 mins
Test Coverage
describe("suggestions", () => {
  it("returns suggestions", async () => {
    await using client = await sessions.acquire();
    const suggestions = await client.rest.v1.suggestions.list();
    expect(suggestions).toEqual(expect.any(Array));
  });

  test.todo("remove suggestion");
});