File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 1
- script : script/ test
1
+ script : npm run test:ci
2
2
language : node_js
3
3
node_js :
4
- - ' 0.10 '
4
+ - 6
Original file line number Diff line number Diff line change 1
1
# classList.js
2
2
3
+ [ ![ Test Status] ( https://saucelabs.com/buildstatus/classlist-polyfill )] [ sauce ]
4
+
5
+ [ sauce ] : https://saucelabs.com/u/classlist-polyfill
6
+
3
7
Cross-browser JavaScript shim that fully implements ` element.classList ` .
4
8
5
9
Refer to [ the MDN page on ` element.classList ` ] [ MDN ] for more information.
Original file line number Diff line number Diff line change @@ -26,6 +26,11 @@ exports.config = {
26
26
global . expect = chai . expect ;
27
27
const session = browser . session ( ) . value ;
28
28
global . agent = `${ session . browserName } ${ session . browserVersion } ` ;
29
+ if ( process . env . TRAVIS_BUILD_NUMBER ) {
30
+ // enable saucelab badges
31
+ capabilities . public = true ;
32
+ capabilities . build = process . env . TRAVIS_BUILD_NUMBER ;
33
+ }
29
34
} ,
30
35
31
36
baseUrl : 'http://localhost:4567' ,
You can’t perform that action at this time.
0 commit comments