Travis build: 2067 [cron]
This commit is contained in:
File diff suppressed because one or more lines are too long
@ -3,6 +3,6 @@ let clone = Object.assign({}, obj);
|
|||||||
Object.keys(clone).forEach(
|
Object.keys(clone).forEach(
|
||||||
key => (clone[key] = typeof obj[key] === 'object' ? deepClone(obj[key]) : obj[key])
|
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;
|
module.exports = deepClone;
|
||||||
@ -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
|
> 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
|
||||||
@ -2008,16 +2008,16 @@ Test log for: Mon May 14 2018 21:09:17 GMT+0000 (UTC)
|
|||||||
Testing zipWith
|
Testing zipWith
|
||||||
|
|
||||||
✔ zipWith is a Function
|
✔ zipWith is a Function
|
||||||
|
✔ Sends a GET request
|
||||||
|
✔ Sends a POST request
|
||||||
✔ Runs the function provided
|
✔ Runs the function provided
|
||||||
✔ Runs promises in series
|
✔ Runs promises in series
|
||||||
✔ Sends a POST request
|
|
||||||
✔ Works as expecting, passing arguments properly
|
✔ Works as expecting, passing arguments properly
|
||||||
✔ Sends a GET request
|
|
||||||
✔ Works with multiple promises
|
✔ Works with multiple promises
|
||||||
|
|
||||||
|
|
||||||
total: 1021
|
total: 1021
|
||||||
passing: 1021
|
passing: 1021
|
||||||
duration: 2.4s
|
duration: 2.6s
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user