import 'package:appflowy_editor/src/infra/html_converter.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { group('HTMLConverter tests', () { test('HTMLToNodesConverter', () { final converter = HTMLToNodesConverter(rawHTML); final nodes = converter.toNodes(); expect(nodes.isNotEmpty, true); }); }); } const rawHTML = """

AppFlowyEditor

👋 Welcome to AppFlowy Editor

AppFlowy Editor is a highly customizable rich-text editor

Here is an example you can give a try

Span element Span element two
  1. First item
  2. Second item
  • List element
  • This is a quote!

      
        Code block
      
    
    Bold tag AppFlowy

    You can also use AppFlowy Editor as a component to build your own app.

    Awesome features

    If you have questions or feedback, please submit an issue on Github or join the community along with 1000+ builders!


    """;