angular/jasminewd

- Error: xit expects a function argument; received [object AsyncFunction]

Xotabu4 opened this issue · 2 comments

Tried to skip protractor tests with typescript async/await, but getting pretty nasty error - - Error: xit expects a function argument; received [object AsyncFunction]

jasminewd -  "version": "2.1.0"
Nodejs - 7.8, 7.10
SELENIUM_PROMISE_MANAGER: false

spec:

    xit('can sort by favorited', async () => {
        await favoriteFilter.selectOption('No')

    })

I think this could be easily fixed, but not sure is this jasminewd error or jasmine?

If someone can point me how to fix locally or point to the line of code in this repo - i can prepare pull request

+1

This has been fixed in jasmine/jasmine#1356. Protractor needs updating now.