2021-01-03 19:57:02 -08:00
|
|
|
const { renderOutfitImage } = require("./outfit-images");
|
|
|
|
|
|
|
|
const { toMatchImageSnapshot } = require("jest-image-snapshot");
|
|
|
|
expect.extend({ toMatchImageSnapshot });
|
|
|
|
|
|
|
|
describe("renderOutfitImage", () => {
|
2021-01-03 20:16:48 -08:00
|
|
|
it("renders a test xwee", async () => {
|
|
|
|
const image = await renderOutfitImage();
|
2021-01-03 19:57:02 -08:00
|
|
|
expect(image).toMatchImageSnapshot();
|
|
|
|
});
|
|
|
|
});
|