From a1ff4bb13273fae8be7e65e27e417a914f2c0c54 Mon Sep 17 00:00:00 2001 From: matt wilkie Date: Sat, 16 Nov 2024 21:21:24 -0700 Subject: [PATCH] test fix: do not access content directly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "TSError: тип Unable to compile TypeScript: spec/services/import/single.spec.ts:137:25 - error TS2339: Property 'content' does not exist on type 'BNote'." --- spec/services/import/single.spec.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spec/services/import/single.spec.ts b/spec/services/import/single.spec.ts index a4d3b9131..9f9fa4ef5 100644 --- a/spec/services/import/single.spec.ts +++ b/spec/services/import/single.spec.ts @@ -134,8 +134,9 @@ describe('HTML Import', () => { const note = importSingle.importSingleFile(taskContext, file, parentNote); expect(note.title).toBe('Test Title'); - expect(note.content).not.toContain('