From 91272fb6ce5efd1a92686c842bc4e50b98fef2b1 Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Fri, 13 Dec 2024 11:23:15 -0500 Subject: [PATCH] fix lint --- test/types/PipelineStage.test.ts | 8 ++++---- test/types/expressions.test.ts | 20 ++++++++++---------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/test/types/PipelineStage.test.ts b/test/types/PipelineStage.test.ts index d089c67933..8fc1991f84 100644 --- a/test/types/PipelineStage.test.ts +++ b/test/types/PipelineStage.test.ts @@ -319,10 +319,10 @@ const setWindowFields5: PipelineStage = { sortBy: { score: 1 }, output: { minScores: { - $firstN: { input: '$score', n: 3 }, + $firstN: { input: '$score', n: 3 } }, maxScores: { - $lastN: { input: '$score', n: 3 }, + $lastN: { input: '$score', n: 3 } } } } @@ -454,9 +454,9 @@ const group7: PipelineStage = { } }, maxScores: { $maxN: { input: '$score', n: 3 } }, - minScores: { $minN: { input: '$score', n: 3 } }, + minScores: { $minN: { input: '$score', n: 3 } } } -} +}; const stages1: PipelineStage[] = [ // First Stage diff --git a/test/types/expressions.test.ts b/test/types/expressions.test.ts index 95545c8a84..baa788534d 100644 --- a/test/types/expressions.test.ts +++ b/test/types/expressions.test.ts @@ -84,7 +84,7 @@ const bottom: Expression.Bottom = { output: ['$playerId', '$score'], sortBy: { score: 1 } } -} +}; const bottomN: Expression.BottomN = { $bottomN: { @@ -92,35 +92,35 @@ const bottomN: Expression.BottomN = { sortBy: { score: 1 }, n: 3 } -} +}; const firstN: Expression.FirstN = { $firstN: { input: '$score', - n: 3, + n: 3 } -} +}; const lastN: Expression.LastN = { $lastN: { input: '$score', - n: 3, + n: 3 } -} +}; const maxN: Expression.MaxN = { $maxN: { input: '$score', - n: 3, + n: 3 } -} +}; const minN: Expression.MinN = { $minN: { input: '$score', - n: 3, + n: 3 } -} +}; const top: Expression.Top = { $top: {