Fancytree unit tests - Core

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

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

  1. Configuration and Summary: Version infoRerun
    1. Initialization: Static membersRerun
      1. Initialization: Create FancytreeRerun
        1. Initialization: Create Fancytree - initRerun
          1. Initialization: Init node status from sourceRerun
            1. Initialization: Init node with custom dataRerun
              1. Initialization: Custom icons (node.icon) (13)Rerun44 ms
                1. node.data.icon is not set@ 12 ms
                2. node.icon is set@ 12 ms
                3. node.icon is set@ 12 ms
                4. icon span exists by default@ 13 ms
                5. icon: true shows icon@ 13 ms
                6. icon: false hides icon@ 13 ms
                7. custom icons have span.fancytree-custom-icon@ 13 ms
                8. custom icons have custom class added@ 13 ms
                9. custom icons don't have .fancytree-icon@ 13 ms
                10. image icon <img> exists@ 13 ms
                11. image icon <span> not exists@ 13 ms
                12. image icons don't have .fancytree-custom-icon@ 13 ms
                13. migration for deprecated iconClass@ 13 ms

                Source: at HTMLDocument. (https://dclgapps.communities.gov.uk/scriptLib/fancytree/test/unit/test-core.js:227:7) at mightThrow (https://dclgapps.communities.gov.uk/scriptLib/fancytree/lib/jquery.js:3583:29) at process (https://dclgapps.communities.gov.uk/scriptLib/fancytree/lib/jquery.js:3651:12)

              2. 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