Leaflet/spec/.eslintrc
Yohan Boniface 5dfc3364d1 Allow to make screenshots in Phantomjs (#4705)
* Load CSS in PhantomJS

* Allow to take screenshot in PhantomJS while running tests

For that, one need to run this call:

    window.top.callPhantom({'render': 'screenshot.png'});

* Make PhantomJS serve images

* Bonus: those tests now passe in Phantom too

* Add helper to make screenshot in tests

	takeScreenshot();

or

	takeScreenshot('path/to/screenshot.png');
2016-07-08 11:05:12 +02:00

21 lines
320 B
Plaintext

{
"rules": {
"no-unused-vars": 0,
"quotes": 0,
"no-shadow": 0,
"no-irregular-whitespace": 0,
"no-console": 0,
"no-extend-native": 0
},
"env": {
"mocha": true
},
"globals": {
"expect": false,
"sinon": false,
"happen": false,
"Hand": false,
"takeScreenshot"
}
}