64 Commits
Author SHA1 Message Date
Jonathan Clem cca8b40ef2 Add lots of linting 2019-05-21 17:08:25 -04:00
Danny McCormick 6f80fb9588 set-env instead of set-variable 2019-05-21 14:40:57 -04:00
Danny McCormick ae6ec27f38 Clean up/respond to feedback 2019-05-21 14:38:29 -04:00
Jonathan Clem 9017484712 DRY up asserts on process.stdout.write 2019-05-21 12:34:47 -04:00
Jonathan Clem 03fa5fa899 Use a Jest mock to test process.stdout.write
Instead of manually mocking, we can instead use `jest.fn()` and assert that the correct calls were made.
2019-05-21 12:27:43 -04:00
Jonathan Clem 2cbd1ae481 Remove environment variables after we set them 2019-05-21 12:14:15 -04:00
Jonathan Clem e9f77276e1 DRY up core tests 2019-05-21 11:23:35 -04:00
Jonathan Clem 567489cd86 'use strict' not necessary in TypeScript 2019-05-21 11:09:41 -04:00
Jonathan Clem e9aa8aaae2 Format lib.test.ts 2019-05-21 10:11:39 -04:00
Danny McCormick 3c31358548 Finish test suite 2019-05-17 14:12:54 -04:00
Danny McCormick 43a9421444 Add tests, getInput should be case-insensitive and trim output 2019-05-17 10:31:07 -04:00
Danny McCormick 524301a9cf Add tests 2019-05-17 10:23:39 -04:00
Danny McCormick 9d663a0ac6 Match core to spec (still work to do) 2019-05-16 17:16:39 -04:00
Danny McCormick 1f64f9aa51 Add Bryan's core code 2019-05-16 16:40:21 -04:00