Travis build: 2042 [cron]

This commit is contained in:
30secondsofcode
2018-05-07 21:07:49 +00:00
parent a011873e18
commit 60d25bae30
3 changed files with 29 additions and 20 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,3 +1,6 @@
const arrayToHtmlList = (arr, listID) => const arrayToHtmlList = (arr, listID) =>
arr.map(item => (document.querySelector('#' + listID).innerHTML += `<li>${item}</li>`)); (el => (
(el = document.querySelector('#' + listID)),
(el.innerHTML += arr.map(item => `<li>${item}</li>`).join(''))
))();
module.exports = arrayToHtmlList; module.exports = arrayToHtmlList;

View File

@ -1,4 +1,4 @@
Test log for: Sun May 06 2018 21:06:17 GMT+0000 (UTC) Test log for: Mon May 07 2018 21:07:41 GMT+0000 (UTC)
> 30-seconds-of-code@0.0.3 test /home/travis/build/Chalarangelo/30-seconds-of-code > 30-seconds-of-code@0.0.3 test /home/travis/build/Chalarangelo/30-seconds-of-code
> tape test/**/*.test.js | tap-spec > tape test/**/*.test.js | tap-spec
@ -2006,9 +2006,9 @@ Test log for: Sun May 06 2018 21:06:17 GMT+0000 (UTC)
Testing zipWith Testing zipWith
✔ zipWith is a Function ✔ zipWith is a Function
✔ Sends a GET request
✔ Sends a POST request ✔ Sends a POST request
✔ Runs the function provided ✔ Runs the function provided
✔ Sends a GET request
✔ Runs promises in series ✔ Runs promises in series
✔ Works as expecting, passing arguments properly ✔ Works as expecting, passing arguments properly
✔ Works with multiple promises ✔ Works with multiple promises