mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix(api): eslint imports order
This commit is contained in:
@@ -21,11 +21,12 @@ import { SettingCreateDto } from '@/setting/dto/setting.dto';
|
||||
import { SettingService } from '@/setting/services/setting.service';
|
||||
import { WebsocketGateway } from '@/websocket/websocket.gateway';
|
||||
|
||||
import OfflineHandler from '../offline/index.channel';
|
||||
|
||||
import {
|
||||
DEFAULT_LIVE_CHAT_TEST_SETTINGS,
|
||||
LIVE_CHAT_TEST_CHANNEL_NAME,
|
||||
} from './settings';
|
||||
import OfflineHandler from '../offline/index.channel';
|
||||
|
||||
@Injectable()
|
||||
export default class LiveChatTesterHandler extends OfflineHandler {
|
||||
|
||||
@@ -49,6 +49,8 @@ import { SocketRequest } from '@/websocket/utils/socket-request';
|
||||
import { SocketResponse } from '@/websocket/utils/socket-response';
|
||||
import { WebsocketGateway } from '@/websocket/websocket.gateway';
|
||||
|
||||
import OfflineHandler from '../index.channel';
|
||||
|
||||
import {
|
||||
offlineAttachment,
|
||||
offlineButtons,
|
||||
@@ -57,7 +59,6 @@ import {
|
||||
offlineQuickReplies,
|
||||
offlineText,
|
||||
} from './data.mock';
|
||||
import OfflineHandler from '../index.channel';
|
||||
|
||||
describe('Offline Handler', () => {
|
||||
let subscriberService: SubscriberService;
|
||||
|
||||
@@ -36,10 +36,11 @@ import {
|
||||
import { SocketEventDispatcherService } from '@/websocket/services/socket-event-dispatcher.service';
|
||||
import { WebsocketGateway } from '@/websocket/websocket.gateway';
|
||||
|
||||
import { offlineEvents } from './events.mock';
|
||||
import OfflineHandler from '../index.channel';
|
||||
import OfflineEventWrapper from '../wrapper';
|
||||
|
||||
import { offlineEvents } from './events.mock';
|
||||
|
||||
describe(`Offline event wrapper`, () => {
|
||||
let handler: OfflineHandler;
|
||||
const offlineSettings = {};
|
||||
|
||||
@@ -36,6 +36,8 @@ import {
|
||||
rootMongooseTestModule,
|
||||
} from '@/utils/test/test';
|
||||
|
||||
import DefaultNlpHelper from '../index.nlp.helper';
|
||||
|
||||
import { entitiesMock, samplesMock } from './__mock__/base.mock';
|
||||
import {
|
||||
nlpBestGuess,
|
||||
@@ -43,7 +45,6 @@ import {
|
||||
nlpFormatted,
|
||||
nlpParseResult,
|
||||
} from './index.mock';
|
||||
import DefaultNlpHelper from '../index.nlp.helper';
|
||||
|
||||
describe('NLP Default Helper', () => {
|
||||
let settingService: SettingService;
|
||||
|
||||
Reference in New Issue
Block a user