puppeteer/mocha-config
Jack Franklin 28797dee41
chore: migrate tests to TypeScript (#6075)
This CL migrates all the tests to TypeScript. The main benefits of this is that we start consuming our TypeScript definitions and therefore find errors in them. The act of migrating found some bugs in our definitions and now we can be sure to avoid them going forwards.

You'll notice the addition of some `TODO`s in the code; I didn't want this CL to get any bigger than it already is but I intend to follow those up once this lands. It's mostly figuring out how to extend the `expect` types with our `toBeGolden` helpers and some other slight confusions with types that the tests exposed.

Co-authored-by: Mathias Bynens <mathias@qiwi.be>
2020-06-23 07:18:46 +02:00
..
base.js fix: improve Ctrl + C support (#6011) 2020-06-15 15:02:00 +02:00
coverage-tests.js chore: update how we track coverage during unit tests (#5779) 2020-04-30 13:00:41 +01:00
doclint-tests.js chore: migrate remaining tests to Mocha (#5616) 2020-04-09 20:12:32 +02:00
puppeteer-unit-tests.js chore: migrate tests to TypeScript (#6075) 2020-06-23 07:18:46 +02:00