tests: update import statements for INTERNAL_CONFIG to use named imports
This commit is contained in:
parent
7dd491e518
commit
cf30f61a11
@ -1,6 +1,6 @@
|
||||
import { expect } from '@jest/globals';
|
||||
import { container } from '../../src/config/dependency-injector.config';
|
||||
import INTERNAL_CONFIG from '../../src/config/internal-config';
|
||||
import { INTERNAL_CONFIG } from '../../src/config/internal-config';
|
||||
import { TokenService } from '../../src/services';
|
||||
import {
|
||||
MeetingEndAction,
|
||||
|
||||
@ -5,7 +5,7 @@ import { Express } from 'express';
|
||||
import ms, { StringValue } from 'ms';
|
||||
import request, { Response } from 'supertest';
|
||||
import { container } from '../../src/config/index.js';
|
||||
import INTERNAL_CONFIG from '../../src/config/internal-config.js';
|
||||
import { INTERNAL_CONFIG } from '../../src/config/internal-config.js';
|
||||
import {
|
||||
LIVEKIT_API_KEY,
|
||||
LIVEKIT_API_SECRET,
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { afterEach, beforeAll, beforeEach, describe, expect, it } from '@jest/globals';
|
||||
import INTERNAL_CONFIG from '../../../../src/config/internal-config.js';
|
||||
import { INTERNAL_CONFIG } from '../../../../src/config/internal-config.js';
|
||||
import { AuthTransportMode, ParticipantRole } from '@openvidu-meet/typings';
|
||||
import { expectValidationError, expectValidParticipantTokenResponse } from '../../../helpers/assertion-helpers.js';
|
||||
import {
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { afterAll, beforeAll, describe, expect, it } from '@jest/globals';
|
||||
import INTERNAL_CONFIG from '../../../../src/config/internal-config.js';
|
||||
import { INTERNAL_CONFIG } from '../../../../src/config/internal-config.js';
|
||||
import { AuthTransportMode, ParticipantRole } from '@openvidu-meet/typings';
|
||||
import { expectValidationError, expectValidParticipantTokenResponse } from '../../../helpers/assertion-helpers.js';
|
||||
import {
|
||||
|
||||
@ -11,7 +11,7 @@ import {
|
||||
} from '../../../helpers/request-helpers.js';
|
||||
import { setupSingleRoomWithRecording } from '../../../helpers/test-scenarios.js';
|
||||
import { expectValidGetRecordingUrlResponse } from '../../../helpers/assertion-helpers.js';
|
||||
import INTERNAL_CONFIG from '../../../../src/config/internal-config.js';
|
||||
import { INTERNAL_CONFIG } from '../../../../src/config/internal-config.js';
|
||||
|
||||
describe('Recording API Tests', () => {
|
||||
let app: Express;
|
||||
|
||||
@ -3,7 +3,7 @@ import { EgressInfo, EgressStatus, Room } from 'livekit-server-sdk';
|
||||
import ms from 'ms';
|
||||
import { Lock } from '@sesamecare-oss/redlock';
|
||||
import { container } from '../../../../src/config/index.js';
|
||||
import INTERNAL_CONFIG from '../../../../src/config/internal-config.js';
|
||||
import { INTERNAL_CONFIG } from '../../../../src/config/internal-config.js';
|
||||
import { MeetLock } from '../../../../src/helpers/index.js';
|
||||
import {
|
||||
LiveKitService,
|
||||
|
||||
@ -2,7 +2,7 @@ import { afterAll, afterEach, beforeAll, beforeEach, describe, expect, it, jest
|
||||
import { EgressInfo, EgressStatus, Room } from 'livekit-server-sdk';
|
||||
import ms from 'ms';
|
||||
import { container } from '../../../../src/config/index.js';
|
||||
import INTERNAL_CONFIG from '../../../../src/config/internal-config.js';
|
||||
import { INTERNAL_CONFIG } from '../../../../src/config/internal-config.js';
|
||||
import { MeetLock } from '../../../../src/helpers/index.js';
|
||||
import {
|
||||
LiveKitService,
|
||||
|
||||
@ -2,7 +2,7 @@ import { afterAll, beforeAll, describe, expect, it } from '@jest/globals';
|
||||
import { Express } from 'express';
|
||||
import ms from 'ms';
|
||||
import request from 'supertest';
|
||||
import INTERNAL_CONFIG from '../../../../src/config/internal-config.js';
|
||||
import { INTERNAL_CONFIG } from '../../../../src/config/internal-config.js';
|
||||
import { MEET_INITIAL_API_KEY } from '../../../../src/environment.js';
|
||||
import {
|
||||
MeetRecordingAccess,
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { afterAll, beforeAll, describe, expect, it } from '@jest/globals';
|
||||
import INTERNAL_CONFIG from '../../../../src/config/internal-config.js';
|
||||
import { INTERNAL_CONFIG } from '../../../../src/config/internal-config.js';
|
||||
import { AuthTransportMode, MeetRecordingAccess, ParticipantRole} from '@openvidu-meet/typings';
|
||||
import { expectValidRecordingTokenResponse } from '../../../helpers/assertion-helpers.js';
|
||||
import {
|
||||
|
||||
@ -2,7 +2,7 @@ import { afterAll, beforeAll, describe, expect, it } from '@jest/globals';
|
||||
import { Express } from 'express';
|
||||
import request from 'supertest';
|
||||
import { container } from '../../../../src/config/dependency-injector.config.js';
|
||||
import INTERNAL_CONFIG from '../../../../src/config/internal-config.js';
|
||||
import { INTERNAL_CONFIG } from '../../../../src/config/internal-config.js';
|
||||
import { MeetStorageService } from '../../../../src/services/index.js';
|
||||
import { expectValidationError } from '../../../helpers/assertion-helpers.js';
|
||||
import {
|
||||
|
||||
@ -2,7 +2,7 @@ import { beforeAll, describe, expect, it } from '@jest/globals';
|
||||
import { Express } from 'express';
|
||||
import request from 'supertest';
|
||||
import { container } from '../../../../src/config/dependency-injector.config.js';
|
||||
import INTERNAL_CONFIG from '../../../../src/config/internal-config.js';
|
||||
import { INTERNAL_CONFIG } from '../../../../src/config/internal-config.js';
|
||||
import { MEET_INITIAL_API_KEY } from '../../../../src/environment.js';
|
||||
import { MeetStorageService } from '../../../../src/services/index.js';
|
||||
import { AuthMode, AuthTransportMode, AuthType, MeetRoomThemeMode } from '@openvidu-meet/typings';
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import { afterAll, beforeAll, beforeEach, describe, expect, it } from '@jest/globals';
|
||||
import { Express } from 'express';
|
||||
import request from 'supertest';
|
||||
import INTERNAL_CONFIG from '../../../../src/config/internal-config.js';
|
||||
import { INTERNAL_CONFIG } from '../../../../src/config/internal-config.js';
|
||||
import { LIVEKIT_URL, MEET_INITIAL_API_KEY } from '../../../../src/environment.js';
|
||||
import { AuthTransportMode, MeetTokenMetadata, ParticipantRole } from '@openvidu-meet/typings';
|
||||
import { getPermissions } from '../../../helpers/assertion-helpers.js';
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import { afterAll, beforeAll, describe, expect, it } from '@jest/globals';
|
||||
import { Express } from 'express';
|
||||
import request from 'supertest';
|
||||
import INTERNAL_CONFIG from '../../../../src/config/internal-config.js';
|
||||
import { INTERNAL_CONFIG } from '../../../../src/config/internal-config.js';
|
||||
import { AuthMode, AuthTransportMode } from '@openvidu-meet/typings';
|
||||
import {
|
||||
changeAuthTransportMode,
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import { afterAll, beforeAll, describe, expect, it } from '@jest/globals';
|
||||
import { Express } from 'express';
|
||||
import request from 'supertest';
|
||||
import INTERNAL_CONFIG from '../../../../src/config/internal-config.js';
|
||||
import { INTERNAL_CONFIG } from '../../../../src/config/internal-config.js';
|
||||
import { MEET_INITIAL_API_KEY } from '../../../../src/environment.js';
|
||||
import { AuthTransportMode, MeetRecordingAccess, ParticipantRole } from '@openvidu-meet/typings';
|
||||
import { expectValidStopRecordingResponse } from '../../../helpers/assertion-helpers.js';
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import { afterAll, beforeAll, beforeEach, describe, expect, it } from '@jest/globals';
|
||||
import { Express } from 'express';
|
||||
import request from 'supertest';
|
||||
import INTERNAL_CONFIG from '../../../../src/config/internal-config.js';
|
||||
import { INTERNAL_CONFIG } from '../../../../src/config/internal-config.js';
|
||||
import { MEET_INITIAL_API_KEY } from '../../../../src/environment.js';
|
||||
import { AuthMode, AuthTransportMode, MeetRecordingAccess, ParticipantRole } from '@openvidu-meet/typings';
|
||||
import {
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import { beforeAll, describe, expect, it } from '@jest/globals';
|
||||
import { Express } from 'express';
|
||||
import request from 'supertest';
|
||||
import INTERNAL_CONFIG from '../../../../src/config/internal-config.js';
|
||||
import { INTERNAL_CONFIG } from '../../../../src/config/internal-config.js';
|
||||
import { MEET_INITIAL_ADMIN_PASSWORD } from '../../../../src/environment.js';
|
||||
import { AuthTransportMode } from '@openvidu-meet/typings';
|
||||
import {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user