zoltan-nz / library-app

Detailed Ember.js v4.7 tutorial for absolute beginners. https://yoember.com
http://library-app.firebaseapp.com
195 stars 77 forks source link

Fix `nav-link-to` test #52

Closed zoltan-nz closed 4 years ago

zoltan-nz commented 4 years ago
not ok 113 Chrome 80.0 - [27 ms] - Unit | Component | nav-link-to: hrefForA computed property
    ---
        actual: >
            false
        expected: >
            true
        stack: >
                at Object.<anonymous> (http://localhost:7357/assets/tests.js:874:14)
                at runTest (http://localhost:7357/assets/test-support.js:21495:30)
                at Test.run (http://localhost:7357/assets/test-support.js:21481:6)
                at http://localhost:7357/assets/test-support.js:21712:12
                at processTaskQueue (http://localhost:7357/assets/test-support.js:21068:24)
                at http://localhost:7357/assets/test-support.js:21072:8
        message: >
            failed, expected argument to be truthy, was: false
        negative: >
            false
        browser log: |
            WARN: DEPRECATION: The <library-app@component:nav-link-to::ember307>#loading computed property was just overridden. This removes the computed property and replaces it with a plain value, and has been deprecated. If you want this behavior, consider defining a setter which does it manually. [deprecation id: computed-property.override] See https://emberjs.com/deprecations/v3.x#toc_computed-property-override for more details.
                    at logDeprecationStackTrace (http://localhost:7357/assets/vendor.js:47026:21)
                    at HANDLERS.<computed> (http://localhost:7357/assets/vendor.js:47123:9)
                    at raiseOnDeprecation (http://localhost:7357/assets/vendor.js:47053:9)
                    at HANDLERS.<computed> (http://localhost:7357/assets/vendor.js:47123:9)
                    at invoke (http://localhost:7357/assets/vendor.js:47135:9)
                    at deprecate (http://localhost:7357/assets/vendor.js:47091:28)
                    at ComputedProperty.clobberSet (http://localhost:7357/assets/vendor.js:26165:49)
                    at ComputedProperty.set (http://localhost:7357/assets/vendor.js:26133:21)
                    at initialize (http://localhost:7357/assets/vendor.js:39784:24)