Skip to content

Commit dcc0706

Browse files
committed
- Test refactoring: Destructuring
1 parent 4883d1b commit dcc0706

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

test/test.callback.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ module.exports = testCase({
5252
}
5353
result.push(type, data, fullData);
5454
}
55-
jsonpath({json, path: '$.store.bicycle', resultType: 'value', wrap: false, callback: callback});
55+
jsonpath({json, path: '$.store.bicycle', resultType: 'value', wrap: false, callback});
5656
test.deepEqual(expected, result);
5757

5858
test.done();

test/test.performance.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ for (i = 0; i < resultCount; i++) {
3030
json.results[i] = {groups: [], v: {v: [1, 2, 3, 4, 5, 6, 7, 8]}};
3131
json.results[i].groups = [];
3232
for (j = 0; j < groupCount; j++) {
33-
json.results[i].groups[j] = {items: items, a: "121212"};
33+
json.results[i].groups[j] = {items, a: "121212"};
3434
}
3535
}
3636

0 commit comments

Comments
 (0)