mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-27 08:21:03 +02:00
Tools: Fixed tests
This commit is contained in:
parent
de50010b15
commit
a03ef8d18a
@ -106,6 +106,7 @@ describe('interop/InteropService_Exporter_Html', function() {
|
||||
await service.export({
|
||||
path: filePath,
|
||||
format: 'html',
|
||||
packIntoSingleFile: false,
|
||||
plugins,
|
||||
});
|
||||
|
||||
|
@ -32,7 +32,7 @@ export default class InteropService_Exporter_Html extends InteropService_Exporte
|
||||
if (this.metadata().target === 'file') {
|
||||
this.destDir_ = dirname(path);
|
||||
this.filePath_ = path;
|
||||
this.packIntoSingleFile_ = true;
|
||||
this.packIntoSingleFile_ = 'packIntoSingleFile' in options ? options.packIntoSingleFile : true;
|
||||
} else {
|
||||
this.destDir_ = path;
|
||||
this.filePath_ = null;
|
||||
|
@ -97,6 +97,7 @@ export interface ExportOptions {
|
||||
includeConflicts?: boolean;
|
||||
plugins?: PluginStates;
|
||||
customCss?: string;
|
||||
packIntoSingleFile?: boolean;
|
||||
}
|
||||
|
||||
export interface ImportExportResult {
|
||||
|
Loading…
Reference in New Issue
Block a user