Merge pull request #574 from Chalarangelo/documentation
[FIX] Documentation
This commit is contained in:
@ -45,7 +45,10 @@ Here's what you can do to help:
|
||||
- Be sure to run `npm run test`. It is going to run all tests for all snippets.
|
||||
- Make a new pull request **only if all the tests are passing**.
|
||||
|
||||
|
||||
#### Browser specific tests
|
||||
- If your snippet belongs to `browser` category, then you will need to modify the tests to make them work.
|
||||
- By default, `Node.js` isn't browser environment. That said we have to use an external package to help us simulate the browser for our tests.
|
||||
- We use [jsdom](https://www.npmjs.com/package/jsdom) for our browser specific tests. You can find their [documentation](https://github.com/jsdom/jsdom) on GitHub as well.
|
||||
|
||||
### Additional guidelines and conventions regarding snippets
|
||||
|
||||
|
||||
Reference in New Issue
Block a user