zoltan-nz / library-app

Detailed Ember.js v4.7 tutorial for absolute beginners. https://yoember.com

Home Page:http://library-app.firebaseapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix `author-select` test

zoltan-nz opened this issue · comments

not ok 2 Chrome 80.0 - [undefined ms] - Global error: Uncaught TypeError: this.onChange is not a function at http://localhost:7357/assets/library-app.js, line 176
 While executing test: Integration | Component | author-select: it renders
    ---
        browser log: |
            testContext: [object Object]
            ERROR: Uncaught TypeError: this.onChange is not a function at http://localhost:7357/assets/library-app.js, line 176
not ok 3 Chrome 80.0 - [115 ms] - Integration | Component | author-select: it renders
    ---
        actual: >
            Tanya Gutmann
        expected: >
            Rodrick Connelly
        stack: >
                at Object.<anonymous> (http://localhost:7357/assets/tests.js:139:14)
        message: >
            component renders with default author selected
        negative: >
            false
        browser log: |
not ok 98 Chrome 80.0 - [42 ms] - Unit | Component | author-select: default action exists
    ---
        actual: >
            null
        stack: >
            Error: Failed to create an instance of 'component:author-select'. Most likely an improperly defined class or an invalid module export.
                at FactoryManager.create (http://localhost:7357/assets/vendor.js:11812:15)
                at instantiateFactory (http://localhost:7357/assets/vendor.js:11642:29)
                at lookup (http://localhost:7357/assets/vendor.js:11556:12)
                at Container.lookup (http://localhost:7357/assets/vendor.js:11397:14)
                at Class.lookup (http://localhost:7357/assets/vendor.js:38067:33)
                at Object.<anonymous> (http://localhost:7357/assets/tests.js:668:35)
                at callHook (http://localhost:7357/assets/test-support.js:21514:25)
                at runHook (http://localhost:7357/assets/test-support.js:21539:7)
                at processTaskQueue (http://localhost:7357/assets/test-support.js:21068:24)
                at advanceTaskQueue (http://localhost:7357/assets/test-support.js:21053:4)
        message: >
            beforeEach failed on default action exists: Failed to create an instance of 'component:author-select'. Most likely an improperly defined class or an invalid module export.
        negative: >
            false
        browser log: |
    ...
not ok 99 Chrome 80.0 - [27 ms] - Unit | Component | author-select: change handler function
    ---
        actual: >
            null
        stack: >
            Error: Failed to create an instance of 'component:author-select'. Most likely an improperly defined class or an invalid module export.
                at FactoryManager.create (http://localhost:7357/assets/vendor.js:11812:15)
                at instantiateFactory (http://localhost:7357/assets/vendor.js:11642:29)
                at lookup (http://localhost:7357/assets/vendor.js:11556:12)
                at Container.lookup (http://localhost:7357/assets/vendor.js:11397:14)
                at Class.lookup (http://localhost:7357/assets/vendor.js:38067:33)
                at Object.<anonymous> (http://localhost:7357/assets/tests.js:668:35)
                at callHook (http://localhost:7357/assets/test-support.js:21514:25)
                at runHook (http://localhost:7357/assets/test-support.js:21539:7)
                at processTaskQueue (http://localhost:7357/assets/test-support.js:21068:24)
                at advanceTaskQueue (http://localhost:7357/assets/test-support.js:21053:4)
        message: >
            beforeEach failed on change handler function: Failed to create an instance of 'component:author-select'. Most likely an improperly defined class or an invalid module export.
        negative: >
            false
        browser log: |
    ...