-
Notifications
You must be signed in to change notification settings - Fork 9
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
refactor(*): configured eslint #10
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #10 +/- ##
=======================================
Coverage 93.46% 93.46%
=======================================
Files 34 34
Lines 658 658
Branches 82 82
=======================================
Hits 615 615
Misses 30 30
Partials 13 13
Continue to review full report at Codecov.
|
@@ -0,0 +1,173 @@ | |||
{ | |||
"env": { | |||
"browser": true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can toggle to false..
@@ -1,4 +1,5 @@ | |||
import {MethodToStub} from "./MethodToStub"; | |||
import {Mocker} from "./Mock"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove..
@@ -91,14 +91,14 @@ describe("resetting mocked object", () => { | |||
// given | |||
foo.getBar(); | |||
foo.sumTwoNumbers(2, 3); | |||
verify(mockedFoo.getBar()).calledBefore(mockedFoo.sumTwoNumbers(2, 3)); | |||
verify(mockedFoo.getBar()).calledBefore(mockedFoo.sumTwoNumbers(2, 3) as any); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need to go deeper on that.. cal before should expect a MethodToStub not any but mockedFoo.sumTwoNumbers(2, 3) doesn't return MethodToStub so I had to cast..
No description provided.