Fancytree unit tests

QUnit 1.23.1; Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)

Tests completed in 29 milliseconds.
13 assertions of 13 passed, 0 failed.

  1. Configuration and Summary: Version infoRerun
    1. Initialization: Static membersRerun
      1. Initialization: Create Fancytree (13)Rerun13 ms
        1. running synchronously@ 6 ms
        2. :ui-fancytree widget selector works@ 12 ms
        3. widget is attached to div#tree@ 12 ms
        4. widget.tree is defined@ 12 ms
        5. $().fancytree('getTree')@ 12 ms
        6. $().fancytree('getActiveNode')@ 12 ms
        7. getTree() exists@ 12 ms
        8. getTree(0) exists@ 13 ms
        9. getTree('#tree') exists@ 13 ms
        10. getTree(1) does not exist@ 13 ms
        11. getTree(#foobar) does not exist@ 13 ms
        12. collapsed children are NOT rendered@ 13 ms
        13. collapsed nodes are NOT rendered@ 13 ms

        Source: at HTMLDocument. (https://dclgapps.communities.gov.uk/scriptLib/fancytree/test/unit/test-core.js:83:7) at i (https://code.jquery.com/jquery-2.2.0.min.js:2:27065) at Object.fireWith [as resolveWith] (https://code.jquery.com/jquery-2.2.0.min.js:2:27828) at Function.ready (https://code.jquery.com/jquery-2.2.0.min.js:2:29621) at HTMLDocument.J (https://code.jquery.com/jquery-2.2.0.min.js:2:29806)

      2. Initialization: Create Fancytree - initRerun
        1. Initialization: Init node status from sourceRerun
          1. Initialization: Init node with custom dataRerun
            1. Initialization: Custom icons (node.icon)Rerun
              1. Initialization: Custom icons (options.icon)Rerun
                1. API: FancytreeNode class methodsRerun
                  1. API: Fancytree class methodsRerun
                    1. Asynchronous API: trigger async expandRerun
                      1. Asynchronous API: makeVisible not rendered deep nodeRerun
                        1. events: .click() to expand a folderRerun
                          1. events: .click() to activate a nodeRerun
                            1. events: .click() to activate a folder (clickFolderMode 3 triggers expand)Rerun
                              1. events: .click() to select a nodeRerun
                                1. events: 'modifyChild' eventRerun
                                  1. generateFormElements(): multi selectRerun
                                    1. generateFormElements(): selectMode: 3Rerun
                                      1. lazy loading: Using ajax options for `source`; .click() expands a lazy folderRerun
                                        1. lazy loading: Using $.ajax promise for `source`; .click() expands a lazy folderRerun
                                          1. Selection mode 3: load behaviorRerun
                                            1. add children & patches: add childrenRerun
                                              1. add children & patches: apply patchRerun
                                                1. keypath: loadKeyPath (allready loaded)Rerun
                                                  1. keypath: loadKeyPath (lazy nodes)Rerun
                                                    1. keypath: loadKeyPath (multiple lazy nodes with expand)Rerun
                                                      test markup, will be hidden