Skip to content

Commit

Permalink
device-heartbeat: Rename index.ts to device-online-state-manager.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
thgreasi committed May 9, 2023
1 parent d51bd25 commit 0b3fd60
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ import {
DeviceOnlineStates,
getPollInterval,
getInstance as getDeviceOnlineStateManager,
} from './features/device-heartbeat';
} from './features/device-heartbeat/device-online-state-manager';
import { registryAuth } from './features/registry/certs';
import {
ALLOWED_NAMES,
Expand Down
2 changes: 1 addition & 1 deletion test/03_device-state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { supertest, UserObjectParam } from './test-lib/supertest';
import { version } from './test-lib/versions';
import { pineTest } from './test-lib/pinetest';
import * as configMock from '../src/lib/config';
import * as stateMock from '../src/features/device-heartbeat';
import * as stateMock from '../src/features/device-heartbeat/device-online-state-manager';
import { waitFor } from './test-lib/common';
import * as fixtures from './test-lib/fixtures';
import { expectResourceToMatch } from './test-lib/api-helpers';
Expand Down
2 changes: 1 addition & 1 deletion test/test-lib/init-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const preInit = async () => {

// override the interval used to emit the queue stats event...
const { DeviceOnlineStateManager } = await import(
'../../src/features/device-heartbeat'
'../../src/features/device-heartbeat/device-online-state-manager'
);
(DeviceOnlineStateManager as any)['QUEUE_STATS_INTERVAL_MSEC'] = 1000;
};
Expand Down

0 comments on commit 0b3fd60

Please sign in to comment.