diff --git a/package-lock.json b/package-lock.json index 88cbb9c3001..8a7ee9a7593 100644 --- a/package-lock.json +++ b/package-lock.json @@ -137613,7 +137613,7 @@ "@mongodb-js/eslint-config-compass": "^0.8.0", "@mongodb-js/prettier-config-compass": "^0.5.0", "@mongodb-js/tsconfig-compass": "^0.6.0", - "@pmmmwh/react-refresh-webpack-plugin": "0.5.5", + "@pmmmwh/react-refresh-webpack-plugin": "^0.5.5", "@types/cli-progress": "^3.9.2", "@types/html-webpack-plugin": "^3.2.6", "@types/mini-css-extract-plugin": "^2.3.0", diff --git a/packages/compass-aggregations/src/components/pipeline-results-workspace/index.spec.tsx b/packages/compass-aggregations/src/components/pipeline-results-workspace/index.spec.tsx index a397d250406..1ab1b370f7d 100644 --- a/packages/compass-aggregations/src/components/pipeline-results-workspace/index.spec.tsx +++ b/packages/compass-aggregations/src/components/pipeline-results-workspace/index.spec.tsx @@ -61,7 +61,7 @@ describe('PipelineResultsWorkspace', function () { expect(onCancelSpy.calledOnce).to.be.true; }); - it('shold render error banner', function () { + it('should render error banner', function () { const onRetry = spy(); renderPipelineResultsWorkspace({ isError: true, diff --git a/packages/compass-aggregations/src/constants.js b/packages/compass-aggregations/src/constants.js index b6ce76edf31..c3b89cf3b2c 100644 --- a/packages/compass-aggregations/src/constants.js +++ b/packages/compass-aggregations/src/constants.js @@ -6,7 +6,7 @@ export const DEFAULT_MAX_TIME_MS = 60000; /** * Number of documents to sample. */ -export const DEFAULT_SAMPLE_SIZE = 20; +export const DEFAULT_SAMPLE_SIZE = 10; /** * If a stage is one of `FULL_SCAN_OPS`, diff --git a/packages/compass-aggregations/src/modules/limit.spec.js b/packages/compass-aggregations/src/modules/limit.spec.js index ab827cc1f74..8c20270b50f 100644 --- a/packages/compass-aggregations/src/modules/limit.spec.js +++ b/packages/compass-aggregations/src/modules/limit.spec.js @@ -14,7 +14,7 @@ describe('limit module', function() { describe('#reducer', function() { context('when the action is not limit changed', function() { it('returns the default state', function() { - expect(reducer(undefined, { type: 'test' })).to.equal(20); + expect(reducer(undefined, { type: 'test' })).to.equal(10); }); }); diff --git a/packages/compass-aggregations/src/modules/pipeline.spec.js b/packages/compass-aggregations/src/modules/pipeline.spec.js index 4c029c4f563..80dff7ccc97 100644 --- a/packages/compass-aggregations/src/modules/pipeline.spec.js +++ b/packages/compass-aggregations/src/modules/pipeline.spec.js @@ -25,7 +25,7 @@ import { expect } from 'chai'; import { STAGE_OPERATORS } from 'mongodb-ace-autocompleter'; const LIMIT_TO_PROCESS = 100000; -const LIMIT_TO_DISPLAY = 20; +const LIMIT_TO_DISPLAY = 10; const reducer = (prevState = INITIAL_STATE, action) => { if (typeof action === 'function') {