Travis build: 1848 [cron]

This commit is contained in:
30secondsofcode
2018-03-23 20:43:11 +00:00
parent 37137f9dde
commit 3ff16ca70e
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
const attempt = (fn, ...args) => {
try {
return fn(args);
return fn(...args);
} catch (e) {
return e instanceof Error ? e : new Error(e);
}

View File

@ -1,4 +1,4 @@
Test log for: Thu Mar 22 2018 20:41:55 GMT+0000 (UTC)
Test log for: Fri Mar 23 2018 20:43:04 GMT+0000 (UTC)
> 30-seconds-of-code@0.0.2 test /home/travis/build/Chalarangelo/30-seconds-of-code
> tape test/**/*.test.js | tap-spec
@ -1960,9 +1960,9 @@ Test log for: Thu Mar 22 2018 20:41:55 GMT+0000 (UTC)
✔ zipWith is a Function
✔ Sends a GET request
✔ Sends a POST request
✔ Runs the function provided
✔ Runs promises in series
✔ Sends a POST request
✔ Works as expecting, passing arguments properly
✔ Works with multiple promises