-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Methods with parameters have no parameters on test #53
Comments
I commented the lines with error on spec above and run the tests. I receive this message: Error: src/auto-spy.ts(14,36): error TS1005: ';' expected. The line with error is: type SpyOf<T> = T &
Partial<{ [k in keyof T]: T[k] extends (...args: any[]) => any ? jasmine.Spy : T[k] }>; I am using Angular 5, typescript 2.6.0, jasmine 3.4.0 |
It looks like 2 issues described here. Let me start by the second:
it('when getDocumentoPlaceHolder is called it should', () => {
// arrange
const { build } = setup().default();
const c = build();
// act
c.getDocumentoPlaceHolder(/* SCuri, add parameer here */);
// assert
// expect(c).toEqual
}); How would that look like? And why would SCuri try to do that? |
@gandadil what do you think about my suggestion above? |
@gandadil Closing this... |
Some methods have parameters but on spec created by SCuri no parameters is passed. Here is the original TS:
and here is the SPEC, with errors on getDocumentoPlaceHolder, changeDocumentoSelecionado and keyEvent methods.
The text was updated successfully, but these errors were encountered: