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 82 milliseconds.
0 assertions of 2 passed, 2 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)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: 3 (2, 0, 2)Rerun69 ms
                                        1. Died on test #1 at HTMLDocument.<anonymous> (https://dclgapps.communities.gov.uk/scriptLib/fancytree/test/unit/test-core.js:911:7) at l (https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js:2:16996) at Object.fireWith [as resolveWith] (https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js:2:17783) at Function.ready (https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js:2:12504) at HTMLDocument.A (https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js:2:9909): $(...).uniqueId is not a function@ 68 ms
                                          Source:
                                          TypeError: $(...).uniqueId is not a function
                                              at Fancytree.nodeSetFocus (https://dclgapps.communities.gov.uk/scriptLib/fancytree/src/jquery.fancytree.js:4060:30)
                                              at Fancytree.nodeSetActive (https://dclgapps.communities.gov.uk/scriptLib/fancytree/src/jquery.fancytree.js:3842:10)
                                              at Fancytree._callHook (https://dclgapps.communities.gov.uk/scriptLib/fancytree/src/jquery.fancytree.js:2304:13)
                                              at FancytreeNode.setActive (https://dclgapps.communities.gov.uk/scriptLib/fancytree/src/jquery.fancytree.js:1807:20)
                                              at Object.<anonymous> (https://dclgapps.communities.gov.uk/scriptLib/fancytree/test/unit/test-core.js:924:24)
                                        2. Expected 4 assertions, but 1 were run@ 68 ms
                                          Source:
                                              at HTMLDocument.<anonymous> (https://dclgapps.communities.gov.uk/scriptLib/fancytree/test/unit/test-core.js:911:7)
                                              at l (https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js:2:16996)
                                              at Object.fireWith [as resolveWith] (https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js:2:17783)
                                              at Function.ready (https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js:2:12504)
                                              at HTMLDocument.A (https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js:2:9909)

                                        Source: at HTMLDocument. (https://dclgapps.communities.gov.uk/scriptLib/fancytree/test/unit/test-core.js:911:7) at l (https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js:2:16996) at Object.fireWith [as resolveWith] (https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js:2:17783) at Function.ready (https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js:2:12504) at HTMLDocument.A (https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js:2:9909)

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