You've already forked joplin
							
							
				mirror of
				https://github.com/laurent22/joplin.git
				synced 2025-10-31 00:07:48 +02:00 
			
		
		
		
	Tools: Fixed tests
This commit is contained in:
		| @@ -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 { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user