test: use return type of t.mock.method

Just does two small chores:

  • I hadn't realized that t.mock.method already returns a Mock<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

Merge request reports

Loading