File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ script:
12
12
- ' npm test'
13
13
# Run browser tests on one node version.
14
14
- ' if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_NODE_VERSION}" = "stable" ]; then npm run test:browsers; fi'
15
+ - ' if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_NODE_VERSION}" = "stable" ]; then npm run test:browsers:polyfills; fi'
15
16
addons :
16
17
sauce_connect : true
17
18
hosts :
Original file line number Diff line number Diff line change 17
17
},
18
18
"devDependencies" : {
19
19
"airtap" : " ~1.0.0" ,
20
+ "core-js" : " ^3.6.5" ,
20
21
"is-async-supported" : " ~1.2.0" ,
21
22
"object.assign" : " ~4.1.0" ,
22
23
"object.entries" : " ^1.1.0" ,
40
41
"scripts" : {
41
42
"test" : " node test/node/index.js" ,
42
43
"test:browsers" : " airtap test/browser/index.js" ,
44
+ "test:browsers:with-polyfills" : " airtap test/browser/with-polyfills.js" ,
45
+ "test:browsers:with-polyfills:local" : " npm run test:browsers:with-polyfills -- --local" ,
43
46
"test:browsers:local" : " npm run test:browsers -- --local"
44
47
}
45
48
}
Original file line number Diff line number Diff line change
1
+ require ( 'core-js' ) ;
2
+ require ( './index.js' ) ;
You can’t perform that action at this time.
0 commit comments