diff --git a/spec/services/import/single.spec.ts b/spec/services/import/single.spec.ts index 05e307a6f..a4d3b9131 100644 --- a/spec/services/import/single.spec.ts +++ b/spec/services/import/single.spec.ts @@ -18,6 +18,8 @@ describe('HTML Import', () => { // Create a mock task context taskContext = new TaskContext('test', 'test'); + // Set textImportedAsText to true to ensure HTML imports are processed + taskContext.data = { textImportedAsText: true }; }); describe('extractHtmlTitle', () => { @@ -30,116 +32,110 @@ describe('HTML Import', () => {
Content
-