mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: use strict typing in tests (#8524)
* The testing tsconfig.json inherits from the base TS config. * A lot of type assertions have been inserted...a lot. * All testing utilities have migrated to TS. * text-diff is being replaced with diff for TS compatibility. * ProtocolError has been added to PuppeteerErrors and PuppeteerErrors is no longer a record (it's been frozen). * Fixes a small bug where null was an allowable media type in emulation (should be undefined).
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -3,7 +3,7 @@
|
||||
/.dev_profile*
|
||||
/.local-chromium/
|
||||
/.local-firefox/
|
||||
/test/test-user-data-dir*
|
||||
/test/output-*/
|
||||
build/
|
||||
coverage
|
||||
coverage/
|
||||
|
||||
Reference in New Issue
Block a user