bugfix/import: doc import bugfix (#4235)

This commit is contained in:
John McLear 2020-08-30 14:11:12 +01:00 committed by GitHub
parent 4db484e34e
commit 12c05c20b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -110,7 +110,7 @@ describe('Imports and Exports', function(){
// For some reason word import does not work in testing..
// TODO: fix support for .doc files..
xit('Tries to import .doc that uses soffice or abiword', function(done) {
it('Tries to import .doc that uses soffice or abiword', function(done) {
if(!settings.allowAnyoneToImport) return done();
if((settings.abiword && settings.abiword.indexOf("/" === -1)) && (settings.office && settings.soffice.indexOf("/" === -1))) return done();