Skip to content

Commit 5f28d3f

Browse files
committed
Remove comments and debug code
1 parent 6df517f commit 5f28d3f

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

test/index.js

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -349,25 +349,6 @@ test('populate', t => {
349349
t.deepEqual(res.population, [{ path: 'a' }, { path: 'b' }, { path: 'c' }]);
350350
});
351351

352-
// test('populate and projection', t => {
353-
// const res = aqp('populate=a,b,c&fields=j,k,l,a.x,a.y,a.z,b.x,b.y,foo.bar');
354-
// t.truthy(res);
355-
// t.deepEqual(res.projection, { j: 1, k: 1, l: 1, 'foo.bar': 1 });
356-
// t.deepEqual(res.population, [
357-
// {
358-
// path: 'a',
359-
// select: { x: 1, y: 1, z: 1 },
360-
// },
361-
// {
362-
// path: 'b',
363-
// select: { x: 1, y: 1 },
364-
// },
365-
// {
366-
// path: 'c',
367-
// },
368-
// ]);
369-
// });
370-
371352
test('populate (nested)', t => {
372353
const res = aqp('populate=a,b.b1,c.c1.c2');
373354
t.truthy(res);
@@ -396,7 +377,6 @@ test('populate (nested)', t => {
396377
test('populate (nested, no duplicated)', t => {
397378
const res = aqp('populate=a,a.a1,a.a1.a2');
398379
t.truthy(res);
399-
console.log(res.population);
400380
t.deepEqual(res.population, [
401381
{
402382
path: 'a',

0 commit comments

Comments
 (0)