Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
YousefED committed Oct 19, 2024
1 parent 123c5ff commit 5615c72
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/pdf/src/react-email/reactEmailExporter.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import {
Section,
Text,
} from "@react-email/components";
import { render } from "@react-email/render";
import { testDocument } from "../testDocument.js";
import { reactEmailDefaultSchemaMappings } from "./defaultSchema/index.js";
import { ReactEmailExporter } from "./reactEmailExporter.js";
Expand Down Expand Up @@ -124,10 +123,11 @@ describe("react email exporter", () => {
reactEmailDefaultSchemaMappings
);

const doc = exporter.toReactEmailDocument(testDocument);
exporter.toReactEmailDocument(testDocument);

const html = await render(doc);
console.log(html);
// const html = await render(doc);
// eslint-disable-next-line no-console
// console.log(html);
// const buffer = await Packer.toBuffer(doc);
// fs.writeFileSync(__dirname + "/My Document.docx", buffer);
});
Expand Down

0 comments on commit 5615c72

Please sign in to comment.