Skip to content

Commit 0693df5

Browse files
committed
Remove deep link to compass-components/lib
1 parent 482a378 commit 0693df5

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

packages/connection-form/src/components/advanced-options-tabs/csfle-tab/csfle-tab.spec.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ import { Binary } from 'bson';
1818

1919
import ConnectionForm from '../../../';
2020
import { getNextKmsProviderName } from './kms-provider-content';
21-
import { FileInputBackendProvider } from '@mongodb-js/compass-components';
22-
import { createJSDomFileInputDummyBackend } from '@mongodb-js/compass-components/lib/components/file-input';
21+
import {
22+
FileInputBackendProvider,
23+
createJSDomFileInputDummyBackend,
24+
} from '@mongodb-js/compass-components';
2325

2426
const openAdvancedTab = async (
2527
tabId: 'general' | 'authentication' | 'tls' | 'proxy' | 'advanced' | 'csfle'

packages/connection-form/src/components/advanced-options-tabs/ssh-tunnel-tab/ssh-tunnel-identity.spec.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ import type { SSHConnectionOptions } from '../../../utils/connection-ssh-handler
77
import SSHTunnelIdentity from './ssh-tunnel-identity';
88
import type { ConnectionFormError } from '../../../utils/validation';
99
import { errorMessageByFieldName } from '../../../utils/validation';
10-
import { FileInputBackendProvider } from '@mongodb-js/compass-components';
11-
import { createJSDomFileInputDummyBackend } from '@mongodb-js/compass-components/lib/components/file-input';
10+
import {
11+
FileInputBackendProvider,
12+
createJSDomFileInputDummyBackend,
13+
} from '@mongodb-js/compass-components';
1214

1315
const formFields: {
1416
key: keyof SSHConnectionOptions;

packages/connection-form/src/components/advanced-options-tabs/tls-ssl-tab/tls-ssl-tab.spec.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ import sinon from 'sinon';
1010
import ConnectionStringUrl from 'mongodb-connection-string-url';
1111

1212
import SSLTab, { getTLSOptionForConnectionString } from './tls-ssl-tab';
13-
import { FileInputBackendProvider } from '@mongodb-js/compass-components';
14-
import { createJSDomFileInputDummyBackend } from '@mongodb-js/compass-components/lib/components/file-input';
13+
import {
14+
FileInputBackendProvider,
15+
createJSDomFileInputDummyBackend,
16+
} from '@mongodb-js/compass-components';
1517

1618
describe('SchemaInput', function () {
1719
let updateConnectionFormFieldSpy: sinon.SinonSpy;

0 commit comments

Comments
 (0)