co2-compensator
Version:
Work out and offset the co2 of your digital services
19 lines (16 loc) • 558 B
JavaScript
;
const hosting = require("./hosting-api");
describe("hostingAPI", function() {
describe("checking a single domain with #check", function() {
it("using the API", async function() {
const res = await hosting.check("google.com");
expect(res).toEqual(true);
});
});
describe("implicitly checking multiple domains with #check", function() {
it("using the API", async function() {
const res = await hosting.check(["google.com", "kochindustries.com"]);
expect(res).toContain("google.com");
});
});
});