test: use return type of t.mock.method
Just does two small chores:
- I hadn't realized that
t.mock.methodalready returns aMock<T>object, so I don't have to use JSDoc type annotations to specify the type. So much cleaner! - Add quotes to the YAML example in the README as I'll be using quotes from now on in YAML files and encouraging this to avoid "getting yamled".
Edited by Seth Falco