Skip to content

Commit

Permalink
Lint fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyanziano committed Jan 15, 2020
1 parent 61114e7 commit a5d4fab
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/app/client/src/commands/electronCommands.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
//

import { CommandServiceImpl, CommandRegistry, CommandServiceInstance } from '@bfemulator/sdk-shared';
import { SharedConstants } from '@bfemulator/app-shared';

import { ElectronCommands } from './electronCommands';
import { SharedConstants } from '@bfemulator/app-shared';

describe('The misc commands', () => {
let commandService: CommandServiceImpl;
Expand Down
3 changes: 2 additions & 1 deletion packages/app/client/src/commands/fileCommands.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@
import { CommandServiceImpl, CommandRegistry, CommandServiceInstance } from '@bfemulator/sdk-shared';
import { SharedConstants } from '@bfemulator/app-shared';

import { FileCommands } from './fileCommands';
import { addFile, removeFile, clear } from '../state/actions/fileActions';
import { addDocPendingChange } from '../state/actions/editorActions';

import { FileCommands } from './fileCommands';

const mockDispatch = jest.fn();
jest.mock('../state/store', () => ({
store: {
Expand Down
2 changes: 1 addition & 1 deletion packages/app/client/src/commands/miscCommands.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
//

import { CommandServiceImpl, CommandRegistry, CommandServiceInstance } from '@bfemulator/sdk-shared';
import { SharedConstants } from '@bfemulator/app-shared';

import { MiscCommands } from './miscCommands';
import { SharedConstants } from '@bfemulator/app-shared';

const mockState = {};
jest.mock('../state/store', () => ({
Expand Down
5 changes: 3 additions & 2 deletions packages/app/client/src/commands/notificationCommands.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@
//

import { CommandServiceImpl, CommandRegistry, CommandServiceInstance } from '@bfemulator/sdk-shared';

import { NotificationCommands } from './notificationCommands';
import { SharedConstants } from '@bfemulator/app-shared';

import { beginAdd, beginRemove } from '../state/actions/notificationActions';

import { NotificationCommands } from './notificationCommands';

const mockNotification: any = {};
jest.mock('../utils', () => ({
getGlobal: () => mockNotification,
Expand Down
3 changes: 2 additions & 1 deletion packages/app/client/src/platform/log/logService.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//

import { logService } from './logService';
import { appendToLog } from '../../state/actions/chatActions';

import { logService } from './logService';

const mockDispatch = jest.fn();
jest.mock('../../state/store', () => ({
store: {
Expand Down

0 comments on commit a5d4fab

Please sign in to comment.