Closed bajtos closed 5 years ago
Looks good. Any reason for changing
options
toopts
?
Good catch, I am glad you asked! In the original code, the following line is longer than 90 characters allowed by our eslint config:
const sharedMethod = new SharedMethod(myFunction, 'myName', mockSharedClass, options);
The rename makes it short enough to pass the check :)
const sharedMethod = new SharedMethod(myFunction, 'myName', mockSharedClass, opts);
It's probably best to review the changes commit-by-commit:
eslint . --fix
6ffd98d