Browse Source

updated libre office path.

tags/v1.0.0
Kalimuthu Selvaraj 5 years ago
parent
commit
f0cdc4c226
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      test/test.js

+ 1
- 2
test/test.js View File

@@ -18,8 +18,7 @@ describe("Convert files to pdf or/and image", function () {
});

it("should return invalid extesion", function () {
options.libreofficeBin =
"C:\\Program Files\\LibreOffice\\program\\soffice.exe";
options.libreofficeBin = "/usr/bin/libreoffice";
options.sourceFile = "C:\\node\\document-convert\\source\\sample.txt";
document.convert(options).catch((e) => {
expect(e.message).to.equal("Invalid extension.");

Loading…
Cancel
Save