mercredi 24 février 2021

ember test throw error - Cannot read property 'tagName' of undefined

i have migrated ember 3.16 to 3.24
I struck on ember test error. But the app works fine

Chrome 88.0 - [17 ms] - Unit | Service | preferences: it exists
    ---
        actual: >
            null
        stack: >
            TypeError: Cannot read property 'tagName' of undefined
                at Class.setup (https://localhost:4221/assets/vendor.js:41026:134)
                at Class.setupEventDispatcher (https://localhost:4221/assets/vendor.js:42523:18)
                at Class._bootSync (https://localhost:4221/assets/vendor.js:42447:14)
                at https://localhost:4221/assets/vendor.js:45731:77
                at initializePromise (https://localhost:4221/assets/vendor.js:74537:7)
                at new Promise (https://localhost:4221/assets/vendor.js:75038:35)
                at Class.boot (https://localhost:4221/assets/vendor.js:45731:27)
                at https://localhost:4221/assets/test-support.js:3656:65
                at invokeCallback (https://localhost:4221/assets/vendor.js:74510:17)
                at https://localhost:4221/assets/vendor.js:74575:26
        message: >
            Promise rejected before "it exists": Cannot read property 'tagName' of undefined
        negative: >
            false
        browser log: 



Aucun commentaire:

Enregistrer un commentaire