Hi
how do you pass arguments to yarn test for the Two-fer exercise for typescript?
i tried yarn test -t=“Bob” but it skips the tests? What am i missing here? also kinda sucks that there’s no documentation on how to test if you are going to use Jest for testing…
Here is it: Testing on the TypeScript track | Exercism's Docs
The track-specific docs are a bit hard to find. Go to the TypeScript track page then look for the “View TypeScript Documentation” link in the right-hand column.
See also the HELP.md
file in the exercise directory.
1 Like
thanks i figured out that i was doing it wrong, thought you had to pass it to the cli.
That’s part of the magic of TDD, the test cases are self-contained.