Travis build: 2067 [cron]

This commit is contained in:
30secondsofcode
2018-05-15 21:09:48 +00:00
parent c51ec370c3
commit 8245fb2fdb
3 changed files with 21 additions and 21 deletions

File diff suppressed because one or more lines are too long

View File

@ -3,6 +3,6 @@ let clone = Object.assign({}, obj);
Object.keys(clone).forEach(
key => (clone[key] = typeof obj[key] === 'object' ? deepClone(obj[key]) : obj[key])
);
return Array.isArray(obj) ? Array.from(clone) : clone;
return Array.isArray(obj) ? (clone.length = obj.length) && Array.from(clone) : clone;
};
module.exports = deepClone;

View File

@ -1,4 +1,4 @@
Test log for: Mon May 14 2018 21:09:17 GMT+0000 (UTC)
Test log for: Tue May 15 2018 21:09:41 GMT+0000 (UTC)
> 30-seconds-of-code@0.0.3 test /home/travis/build/Chalarangelo/30-seconds-of-code
> tape test/**/*.test.js | tap-spec
@ -2008,16 +2008,16 @@ Test log for: Mon May 14 2018 21:09:17 GMT+0000 (UTC)
Testing zipWith
✔ 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
✔ Sends a GET request
✔ Works with multiple promises
total: 1021
passing: 1021
duration: 2.4s
duration: 2.6s