Quantcast
Viewing all articles
Browse latest Browse all 4829

Promise rejected during : Cannot call `render` without having first called `setupRenderingContext`

I get this strange error message when I tried to run a test for my component. Promise rejected during “MY_COMPONENT_TEST”: Cannot call render without having first called setupRenderingContext. I followed what has been mentioned in the ember component test documentation. I have called setupRenderingTest(hooks). But still getting this weird error message when running tests. But the test works fine when I remove rendering the component using render method. I also get the following error messages Promise rejected before “MY_COMPONENT_TEST”: appContainer is undefined, Promise rejected before “MY_COMPONENT_TEST”: owner is undefined, Promise rejected before “MY_COMPONENT_TEST”: right-hand side of ‘in’ should be an object, got undefined

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4829

Trending Articles