Skip to content

Commit 486e101

Browse files
committed
chore: sanity check: import directly
1 parent f10f53f commit 486e101

32 files changed

+102
-82
lines changed

packages/browser-repl/src/components/editor.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import sinon from 'sinon';
2-
import { expect } from '../../testing/chai';
2+
import { expect } from '../../testing/src/chai';
33
import { Editor, createCommands } from './editor';
44
import type { Command } from '@mongodb-js/compass-editor';
5-
import { shallow } from '../../testing/enzyme';
5+
import { shallow } from '../../testing/src/enzyme';
66
import React from 'react';
77

88
describe('<Editor />', function () {

packages/browser-repl/src/components/shell-input.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import sinon from 'sinon';
3-
import { expect } from '../../testing/chai';
4-
import { shallow, mount } from '../../testing/enzyme';
3+
import { expect } from '../../testing/src/chai';
4+
import { shallow, mount } from '../../testing/src/enzyme';
55

66
import { ShellInput } from './shell-input';
77
import { Editor } from './editor';

packages/browser-repl/src/components/shell-output-line.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
2-
import { expect } from '../../testing/chai';
3-
import { shallow, mount } from '../../testing/enzyme';
2+
import { expect } from '../../testing/src/chai';
3+
import { shallow, mount } from '../../testing/src/enzyme';
44

55
import { ShellOutputLine } from './shell-output-line';
66
import { HelpOutput } from './types/help-output';

packages/browser-repl/src/components/shell-output.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
2-
import { expect } from '../../testing/chai';
3-
import { shallow } from '../../testing/enzyme';
2+
import { expect } from '../../testing/src/chai';
3+
import { shallow } from '../../testing/src/enzyme';
44

55
import type { ShellOutputEntry } from './shell-output-line';
66
import { ShellOutputLine } from './shell-output-line';

packages/browser-repl/src/components/shell.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import React, { useState, useEffect } from 'react';
33
import sinon from 'sinon';
44
import { render, screen, waitFor, configure } from '@testing-library/react';
55
import userEvent from '@testing-library/user-event';
6-
import { expect } from '../../testing/chai';
6+
import { expect } from '../../testing/src/chai';
77

88
import { Shell } from './shell';
99
import type { ShellOutputEntry } from './shell-output-line';

packages/browser-repl/src/components/types/cursor-iteration-result-output.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
2-
import { expect } from '../../../testing/chai';
3-
import { shallow } from '../../../testing/enzyme';
2+
import { expect } from '../../testing/src/chai';
3+
import { shallow } from '../../testing/src/enzyme';
44

55
import { CursorIterationResultOutput } from './cursor-iteration-result-output';
66
import { ObjectOutput } from './object-output';

packages/browser-repl/src/components/types/cursor-output.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
2-
import { expect } from '../../../testing/chai';
3-
import { shallow, mount } from '../../../testing/enzyme';
2+
import { expect } from '../../testing/src/chai';
3+
import { shallow, mount } from '../../testing/src/enzyme';
44

55
import { CursorOutput } from './cursor-output';
66
import { CursorIterationResultOutput } from './cursor-iteration-result-output';

packages/browser-repl/src/components/types/error-output.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
2-
import { expect } from '../../../testing/chai';
3-
import { render, mount } from '../../../testing/enzyme';
2+
import { expect } from '../../testing/src/chai';
3+
import { render, mount } from '../../testing/src/enzyme';
44

55
import { ErrorOutput } from './error-output';
66

packages/browser-repl/src/components/types/help-output.spec.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
2-
import { expect } from '../../../testing/chai';
3-
import type { ShallowWrapper } from '../../../testing/enzyme';
4-
import { shallow } from '../../../testing/enzyme';
2+
import { expect } from '../../testing/src/chai';
3+
import type { ShallowWrapper } from '../../testing/src/enzyme';
4+
import { shallow } from '../../testing/src/enzyme';
55

66
import { HelpOutput } from './help-output';
77

packages/browser-repl/src/components/types/show-collections-output.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
2-
import { expect } from '../../../testing/chai';
3-
import { shallow } from '../../../testing/enzyme';
2+
import { expect } from '../../testing/src/chai';
3+
import { shallow } from '../../testing/src/enzyme';
44

55
import { ShowCollectionsOutput } from './show-collections-output';
66

0 commit comments

Comments
 (0)