          return res.once(
            req.url.searchParams.get('domain') === 'foo.bar'
              ? ctx.json(BREACHES)
              : ctx.status(418),
          );
        }),
      );

      return expect(breaches({ domain: 'foo.bar' })).resolves.toEqual(BREACHES);
    });
  });
});