text: import { runAuthenticatedQuery } from "schema/v1/test/utils"
  import gql from "lib/gql"
  
  describe("Users", () => {
    it("returns a list of users matching array of ids", async () => {
      const usersLoader = (data) => {
        if (data.id) {
          return Promise.resolve(data.id.map((id) => ({ id })))
        }
        throw new Error("Unexpected invocation")
      }
      const query = gql`
        {
          users(ids: ["5a9075da8b3b817ede4f8767"]) {
            id
          }
        }
      `
      const { users } = await runAuthenticatedQuery(query, { usersLoader })
      expect(users[0].id).toEqual("5a9075da8b3b817ede4f8767")
    })
  })
  