puppeteer
Advanced tools
Comparing version 1.0.0-next.1518069662486 to 1.0.0-next.1518069677340
@@ -48,11 +48,2 @@ # How to Contribute | ||
## API guidelines | ||
When authoring new API methods, consider the following: | ||
- expose as little information as needed. When in doubt, don’t expose new information | ||
- methods are used in favor of getters/setters | ||
- the only exception is namespaces, e.g. `page.keyboard` and `page.coverage` | ||
- all string literals must be small case. This includes event names and option values | ||
- avoid adding "sugar" API (API that is trivially implementable in user-space) unless they're **very** demanded | ||
## Commit Messages | ||
@@ -131,5 +122,5 @@ | ||
``` | ||
- To run tests in parallel, use `-j` flag: | ||
- To filter tests by name: | ||
``` | ||
npm run unit -- -j 4 | ||
npm run unit -- --filter=waitFor | ||
``` | ||
@@ -168,3 +159,3 @@ - To run a specific test, substitute the `it` with `fit` (mnemonic rule: '*focus it*'): | ||
``` | ||
node --inspect-brk test/test.js | ||
npm run debug-unit | ||
``` | ||
@@ -171,0 +162,0 @@ |
{ | ||
"name": "puppeteer", | ||
"version": "1.0.0-next.1518069662486", | ||
"version": "1.0.0-next.1518069677340", | ||
"description": "A high-level API to control headless Chrome over the DevTools Protocol", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
259655