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 51 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 node (2, 0, 2)Rerun38 ms
                              1. Died on test #1 at HTMLDocument.<anonymous> (https://dclgapps.communities.gov.uk/scriptLib/fancytree/test/unit/test-core.js:674: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@ 24 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._callHook (https://dclgapps.communities.gov.uk/scriptLib/fancytree/src/jquery.fancytree.js:2304:13)
                                    at FancytreeNode.setFocus (https://dclgapps.communities.gov.uk/scriptLib/fancytree/src/jquery.fancytree.js:1822:20)
                                    at Fancytree.treeSetFocus (https://dclgapps.communities.gov.uk/scriptLib/fancytree/src/jquery.fancytree.js:4413:30)
                                    at Fancytree._callHook (https://dclgapps.communities.gov.uk/scriptLib/fancytree/src/jquery.fancytree.js:2304:13)
                                    at Fancytree.nodeSetFocus (https://dclgapps.communities.gov.uk/scriptLib/fancytree/src/jquery.fancytree.js:4040:10)
                                    at Fancytree.nodeClick (https://dclgapps.communities.gov.uk/scriptLib/fancytree/src/jquery.fancytree.js:2955:10)
                                    at Fancytree._callHook (https://dclgapps.communities.gov.uk/scriptLib/fancytree/src/jquery.fancytree.js:2304:13)
                                    at HTMLUListElement.<anonymous> (https://dclgapps.communities.gov.uk/scriptLib/fancytree/src/jquery.fancytree.js:4758:86)
                                    at HTMLUListElement.dispatch (https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js:2:38053)
                              2. Expected 8 assertions, but 1 were run@ 38 ms
                                Source:
                                    at HTMLDocument.<anonymous> (https://dclgapps.communities.gov.uk/scriptLib/fancytree/test/unit/test-core.js:674: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:674: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. 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