Open josemarluedke opened 6 years ago
@offirgolan I have created a reproduction for this bug: https://github.com/josemarluedke/--ember-cp-validations-repro.
One interesting thing I discovered is that if I add an action to the component, then I don't have this problem. I don't have an action in my component since I'm using ember-concurrency
tasks.
I'm trying to use cp-validations within an app using ES6 classes & TypeScript and I'm getting a few errors.
Here is what my component looks like:
The first problem that I get is when running tests for this component, the error I get is:
This error only appears in tests, but not when running the app.
Note: Using
Component.extend
does not work, so I have to use the decorator.Environment
Steps to Reproduce
https://github.com/josemarluedke/--ember-cp-validations-repro