Skip to content

Commit

Permalink
un-skip other list parsing test
Browse files Browse the repository at this point in the history
  • Loading branch information
nobkd committed Feb 4, 2025
1 parent 8b279b6 commit 47db7b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nuemark/test/block.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ test('block html tag without children with content', () => {
expect(html).toBe('<section>content</section>\n<p>no content</p>')
})

test.skip('block html tag with starting ul', () => {
test('block html tag with starting ul', () => {
const { blocks } = parseBlocks(['[div]', ' - hi', ' - hello'])
expect(blocks.length).toBe(1)
expect(blocks[0].blocks.length).toBe(1)

Check failure on line 62 in packages/nuemark/test/block.test.js

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest, bun)

TypeError: undefined is not an object (evaluating 'blocks[0].blocks.length')

at <anonymous> (/home/runner/work/nue/nue/packages/nuemark/test/block.test.js:62:20)

Check failure on line 62 in packages/nuemark/test/block.test.js

View workflow job for this annotation

GitHub Actions / test (macos-latest, bun)

TypeError: undefined is not an object (evaluating 'blocks[0].blocks.length')

at <anonymous> (/Users/runner/work/nue/nue/packages/nuemark/test/block.test.js:62:20)
Expand Down

0 comments on commit 47db7b5

Please sign in to comment.