Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wsieroci committed Feb 25, 2024
1 parent f044b50 commit 3078468
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/unit/utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ test('isTextBlock should work for text blocks', () => {
const knownTextBlocks = [
BlockType.Text,
BlockType.Quote,
BlockType.H1,
BlockType.H2,
BlockType.H3
] as any[]
Object.values(BlockType).forEach(type => {
if (knownTextBlocks.includes(type as BlockType)) expect(isTextBlock(type)).toBeTruthy()
Expand Down

0 comments on commit 3078468

Please sign in to comment.