Methods are used in favor of getters/setters.Expose as little information as needed.When authoring new API methods, consider the following: tools/mochaRunner - contains the source code for our test runner.tools contains miscellaneous scripts that are used in building and etc.packages contains all public source code.The following is a description of the primary folders in Puppeteer: Use GitHub pull requests for this purpose. See more info about the testĪll submissions, including submissions by project members, require review. To see if a given test result is expected or not. Puppeteer uses a custom test runner on top of Mocha that consults the The default npm test runs test::headless which is generally test:firefox:** - Tests puppeteer on Firefox.test:chrome:** - Tests puppeteer on Chromium.test-types - Tests the TypeScript types in puppeteer using.test-install - Tests whether puppeteer and puppeteer-core install.Outside of npm test, there are several other
0 Comments
Leave a Reply. |