chore: improve TS automated type tests (#6860)

This PR:

1. Makes sure we remove and freshly install Puppeteer before testing our
   type defs, to avoid running on stale files.
2. Makes the tests run off `puppeteer.tgz` to avoid having version
   numbers in the file name and therefore having to update it when we
   bump versions.
This commit is contained in:
Jack Franklin
2021-02-11 10:34:44 +00:00
committed by GitHub
parent bdaba7829d
commit 641ffc2a20
9 changed files with 33 additions and 13 deletions

3
.gitignore vendored
View File

@@ -18,6 +18,5 @@ yarn.lock
/lib
test/coverage.json
temp/
puppeteer-core-*.tgz
new-docs/
puppeteer-*.tgz
puppeteer.tgz