Solutions to Advent of Code 2018 written in TypeScript
Install yarn. For example, on a Mac:
$ brew install yarn
This will install all necessary dependencies for tests, linting, and anything that may be used in the Advent of Code solution source (trying to stick to stdlib modules as much as possible).
After installing dependencies, you can then run this command to run the tests. Exits with a non-zero code if either tests fail; otherwise, exits with zero.