Skip to content

Commit

Permalink
check
Browse files Browse the repository at this point in the history
  • Loading branch information
mabaasit committed Sep 26, 2024
1 parent 1c8897a commit e8c55b0
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 2 deletions.
36 changes: 36 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions packages/compass-global-writes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,13 @@
"@mongodb-js/compass-collection": "^4.41.0",
"@mongodb-js/compass-components": "^1.29.4",
"@mongodb-js/compass-connections": "^1.42.0",
"@mongodb-js/compass-field-store": "^9.17.0",
"@mongodb-js/compass-logging": "^1.4.7",
"@mongodb-js/compass-telemetry": "^1.1.7",
"hadron-app-registry": "^9.2.6",
"mongodb-ns": "^2.4.2",
"react": "^17.0.2",
"react-redux": "^8.1.3",
"redux": "^4.2.1",
"redux-thunk": "^2.4.2"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { renderWithStore } from './../../tests/create-store';
describe('Compass GlobalWrites Plugin', function () {
it('renders plugin in NOT_READY state', function () {
renderWithStore(<GlobalWrites shardingStatus={'NOT_READY'} />);
expect(screen.getByText('Loading ...')).to.exist;
expect(screen.getByText(/loading/i)).to.exist;
});

it('renders plugin in UNSHARDED state', function () {
Expand Down
1 change: 0 additions & 1 deletion packages/compass-global-writes/src/components/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {
css,
spacing,
WorkspaceContainer,
Body,
SpinLoaderWithLabel,
} from '@mongodb-js/compass-components';
import type { RootState, ShardingStatus } from '../store/reducer';
Expand Down

0 comments on commit e8c55b0

Please sign in to comment.