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({ | 		await service.export({ | ||||||
| 			path: filePath, | 			path: filePath, | ||||||
| 			format: 'html', | 			format: 'html', | ||||||
|  | 			packIntoSingleFile: false, | ||||||
| 			plugins, | 			plugins, | ||||||
| 		}); | 		}); | ||||||
|  |  | ||||||
|   | |||||||
| @@ -32,7 +32,7 @@ export default class InteropService_Exporter_Html extends InteropService_Exporte | |||||||
| 		if (this.metadata().target === 'file') { | 		if (this.metadata().target === 'file') { | ||||||
| 			this.destDir_ = dirname(path); | 			this.destDir_ = dirname(path); | ||||||
| 			this.filePath_ = path; | 			this.filePath_ = path; | ||||||
| 			this.packIntoSingleFile_ = true; | 			this.packIntoSingleFile_ = 'packIntoSingleFile' in options ? options.packIntoSingleFile : true; | ||||||
| 		} else { | 		} else { | ||||||
| 			this.destDir_ = path; | 			this.destDir_ = path; | ||||||
| 			this.filePath_ = null; | 			this.filePath_ = null; | ||||||
|   | |||||||
| @@ -97,6 +97,7 @@ export interface ExportOptions { | |||||||
| 	includeConflicts?: boolean; | 	includeConflicts?: boolean; | ||||||
| 	plugins?: PluginStates; | 	plugins?: PluginStates; | ||||||
| 	customCss?: string; | 	customCss?: string; | ||||||
|  | 	packIntoSingleFile?: boolean; | ||||||
| } | } | ||||||
|  |  | ||||||
| export interface ImportExportResult { | export interface ImportExportResult { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user