Travis build: 2119 [cron]

This commit is contained in:
30secondsofcode
2018-06-01 21:18:45 +00:00
parent 68493e6c25
commit 9d2feaaf76
3 changed files with 38 additions and 20 deletions

File diff suppressed because one or more lines are too long

View File

@ -5410,8 +5410,7 @@
"toHash([4, 3, 2, 1]); // { 0: 4, 1: 3, 2: 2, 1: 1 }\ntoHash([{ a: 'label' }], 'a'); // { label: { a: 'label' } }\n// A more in depth example:\nlet users = [{ id: 1, first: 'Jon' }, { id: 2, first: 'Joe' }, { id: 3, first: 'Moe' }];\nlet managers = [{ manager: 1, employees: [2, 3] }];\n// We use function here because we want a bindable reference, but a closure referencing the hash would work, too.\nmanagers.forEach(\n manager =>\n (manager.employees = manager.employees.map(function(id) {\n return this[id];\n }, toHash(users, 'id')))\n);\nmanagers; // [ { manager:1, employees: [ { id: 2, first: \"Joe\" }, { id: 3, first: \"Moe\" } ] } ]" "toHash([4, 3, 2, 1]); // { 0: 4, 1: 3, 2: 2, 1: 1 }\ntoHash([{ a: 'label' }], 'a'); // { label: { a: 'label' } }\n// A more in depth example:\nlet users = [{ id: 1, first: 'Jon' }, { id: 2, first: 'Joe' }, { id: 3, first: 'Moe' }];\nlet managers = [{ manager: 1, employees: [2, 3] }];\n// We use function here because we want a bindable reference, but a closure referencing the hash would work, too.\nmanagers.forEach(\n manager =>\n (manager.employees = manager.employees.map(function(id) {\n return this[id];\n }, toHash(users, 'id')))\n);\nmanagers; // [ { manager:1, employees: [ { id: 2, first: \"Joe\" }, { id: 3, first: \"Moe\" } ] } ]"
], ],
"tags": [ "tags": [
"array", "array"
"object"
] ]
}, },
"meta": { "meta": {

View File

@ -1,4 +1,4 @@
Test log for: Thu May 31 2018 21:18:33 GMT+0000 (UTC) Test log for: Fri Jun 01 2018 21:18:38 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
@ -2048,7 +2048,7 @@ Test log for: Thu May 31 2018 21:18:33 GMT+0000 (UTC)
total: 1022 total: 1022
passing: 1020 passing: 1020
failing: 2 failing: 2
duration: 2.5s duration: 2.4s
undefined undefined