Skip to content

Commit a3f914e

Browse files
committed
fix lint
1 parent a729098 commit a3f914e

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

test/types/PipelineStage.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -319,10 +319,10 @@ const setWindowFields5: PipelineStage = {
319319
sortBy: { score: 1 },
320320
output: {
321321
minScores: {
322-
$firstN: { input: '$score', n: 3 },
322+
$firstN: { input: '$score', n: 3 }
323323
},
324324
maxScores: {
325-
$lastN: { input: '$score', n: 3 },
325+
$lastN: { input: '$score', n: 3 }
326326
}
327327
}
328328
}
@@ -454,9 +454,9 @@ const group7: PipelineStage = {
454454
}
455455
},
456456
maxScores: { $maxN: { input: '$score', n: 3 } },
457-
minScores: { $minN: { input: '$score', n: 3 } },
457+
minScores: { $minN: { input: '$score', n: 3 } }
458458
}
459-
}
459+
};
460460

461461
const stages1: PipelineStage[] = [
462462
// First Stage

test/types/expressions.test.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -84,43 +84,43 @@ const bottom: Expression.Bottom = {
8484
output: ['$playerId', '$score'],
8585
sortBy: { score: 1 }
8686
}
87-
}
87+
};
8888

8989
const bottomN: Expression.BottomN = {
9090
$bottomN: {
9191
output: ['$playerId', '$score'],
9292
sortBy: { score: 1 },
9393
n: 3
9494
}
95-
}
95+
};
9696

9797
const firstN: Expression.FirstN = {
9898
$firstN: {
9999
input: '$score',
100-
n: 3,
100+
n: 3
101101
}
102-
}
102+
};
103103

104104
const lastN: Expression.LastN = {
105105
$lastN: {
106106
input: '$score',
107-
n: 3,
107+
n: 3
108108
}
109-
}
109+
};
110110

111111
const maxN: Expression.MaxN = {
112112
$maxN: {
113113
input: '$score',
114-
n: 3,
114+
n: 3
115115
}
116-
}
116+
};
117117

118118
const minN: Expression.MinN = {
119119
$minN: {
120120
input: '$score',
121-
n: 3,
121+
n: 3
122122
}
123-
}
123+
};
124124

125125
const top: Expression.Top = {
126126
$top: {

0 commit comments

Comments
 (0)