Porting tests over to vitest
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
// Example of a continuous header
|
||||
// Import from 'docx' rather than '../build' if you install from npm
|
||||
|
||||
import * as fs from "fs";
|
||||
import { Document, Footer, Header, Packer, Paragraph, SectionType, Tab, TextRun } from "../build";
|
||||
import { Document, Footer, Header, Packer, Paragraph, SectionType, Tab, TextRun } from "docx";
|
||||
|
||||
const doc = new Document({
|
||||
creator: "Creator",
|
||||
|
Reference in New Issue
Block a user