Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
style: fix eslint errors
  • Loading branch information
phra committed Jan 4, 2018
commit 05a303d8896f8e25ed406ab0dc642f7046838ed0
2 changes: 1 addition & 1 deletion packages/jest-jasmine2/src/jasmine/spy_registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default function SpyRegistry(options: Object) {

this.spyOn = function(obj, methodName, accessType?: string) {
if (accessType) {
return this._spyOnProperty(obj, methodName, accessType)
return this._spyOnProperty(obj, methodName, accessType);
}

if (obj === void 0) {
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-mock/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ class ModuleMockerClass {

spyOn(object: any, methodName: any, accessType?: string): any {
if (accessType) {
return this._spyOnProperty(object, methodName, accessType)
return this._spyOnProperty(object, methodName, accessType);
}

if (typeof object !== 'object' && typeof object !== 'function') {
Expand Down