From 40b5980fb86329d48ff4b4ff178dc814b422b972 Mon Sep 17 00:00:00 2001 From: Cameron Koegel <53310569+ckoegel@users.noreply.github.com> Date: Tue, 11 Jun 2024 16:07:21 -0400 Subject: [PATCH] SWI-5429 Update Test Suite and Workflows (#30) * SWI-5429 Update Test Suite and Workflows * update template * remove matrix from smoke tests --- .github/workflows/deploy.yml | 4 ++-- .github/workflows/test-nightly.yml | 17 ++++++----------- .github/workflows/test-pr.yml | 2 +- custom_templates/package.mustache | 2 ++ package.json | 2 ++ tests/{integration => smoke}/bxml.test.ts | 0 tests/{integration => smoke}/calls-api.test.ts | 0 .../conferences-api.test.ts | 0 tests/{integration => smoke}/media-api.test.ts | 0 .../{integration => smoke}/messages-api.test.ts | 0 tests/{integration => smoke}/mfaapi.test.ts | 0 .../phone-number-lookup-api.test.ts | 0 .../recordings-api.test.ts | 0 .../statistics-api.test.ts | 0 .../transcriptions-api.test.ts | 0 tests/unit/{ => models}/bxml/Bxml.test.ts | 6 +++--- .../unit/{ => models}/bxml/NestableVerb.test.ts | 4 ++-- tests/unit/{ => models}/bxml/Response.test.ts | 6 +++--- tests/unit/{ => models}/bxml/Verb.test.ts | 2 +- .../unit/{ => models}/bxml/verbs/Bridge.test.ts | 4 ++-- .../{ => models}/bxml/verbs/Conference.test.ts | 4 ++-- .../{ => models}/bxml/verbs/CustomParam.test.ts | 4 ++-- .../{ => models}/bxml/verbs/Forward.test.ts | 4 ++-- .../unit/{ => models}/bxml/verbs/Gather.test.ts | 8 ++++---- .../unit/{ => models}/bxml/verbs/Hangup.test.ts | 4 ++-- .../unit/{ => models}/bxml/verbs/Pause.test.ts | 4 ++-- .../bxml/verbs/PauseRecording.test.ts | 4 ++-- .../{ => models}/bxml/verbs/PhoneNumber.test.ts | 4 ++-- .../{ => models}/bxml/verbs/PlayAudio.test.ts | 4 ++-- .../unit/{ => models}/bxml/verbs/Record.test.ts | 4 ++-- .../{ => models}/bxml/verbs/Redirect.test.ts | 4 ++-- .../bxml/verbs/ResumeRecording.test.ts | 4 ++-- tests/unit/{ => models}/bxml/verbs/Ring.test.ts | 4 ++-- .../{ => models}/bxml/verbs/SendDtmf.test.ts | 4 ++-- .../unit/{ => models}/bxml/verbs/SipUri.test.ts | 4 ++-- .../bxml/verbs/SpeakSentence.test.ts | 4 ++-- .../{ => models}/bxml/verbs/StartGather.test.ts | 4 ++-- .../bxml/verbs/StartRecording.test.ts | 4 ++-- .../{ => models}/bxml/verbs/StartStream.test.ts | 6 +++--- .../bxml/verbs/StartTranscription.test.ts | 6 +++--- .../{ => models}/bxml/verbs/StopGather.test.ts | 4 ++-- .../bxml/verbs/StopRecording.test.ts | 4 ++-- .../{ => models}/bxml/verbs/StopStream.test.ts | 4 ++-- .../bxml/verbs/StopTranscription.test.ts | 4 ++-- .../{ => models}/bxml/verbs/StreamParam.test.ts | 4 ++-- tests/unit/{ => models}/bxml/verbs/Tag.test.ts | 4 ++-- .../{ => models}/bxml/verbs/Transfer.test.ts | 8 ++++---- .../{ => models}/call-direction-enum.test.ts | 2 +- tests/unit/{ => models}/call-state-enum.test.ts | 2 +- .../{ => models}/callback-method-enum.test.ts | 2 +- .../{ => models}/conference-state-enum.test.ts | 2 +- .../unit/{ => models}/file-format-enum.test.ts | 2 +- .../list-message-direction-enum.test.ts | 2 +- .../{ => models}/lookup-status-enum.test.ts | 2 +- .../machine-detection-mode-enum.test.ts | 2 +- .../{ => models}/message-direction-enum.test.ts | 2 +- .../{ => models}/message-status-enum.test.ts | 2 +- .../unit/{ => models}/message-type-enum.test.ts | 2 +- tests/unit/{ => models}/priority-enum.test.ts | 2 +- .../{ => models}/recording-state-enum.test.ts | 2 +- .../{ => models}/redirect-method-enum.test.ts | 2 +- 61 files changed, 98 insertions(+), 99 deletions(-) rename tests/{integration => smoke}/bxml.test.ts (100%) rename tests/{integration => smoke}/calls-api.test.ts (100%) rename tests/{integration => smoke}/conferences-api.test.ts (100%) rename tests/{integration => smoke}/media-api.test.ts (100%) rename tests/{integration => smoke}/messages-api.test.ts (100%) rename tests/{integration => smoke}/mfaapi.test.ts (100%) rename tests/{integration => smoke}/phone-number-lookup-api.test.ts (100%) rename tests/{integration => smoke}/recordings-api.test.ts (100%) rename tests/{integration => smoke}/statistics-api.test.ts (100%) rename tests/{integration => smoke}/transcriptions-api.test.ts (100%) rename tests/unit/{ => models}/bxml/Bxml.test.ts (89%) rename tests/unit/{ => models}/bxml/NestableVerb.test.ts (72%) rename tests/unit/{ => models}/bxml/Response.test.ts (89%) rename tests/unit/{ => models}/bxml/Verb.test.ts (82%) rename tests/unit/{ => models}/bxml/verbs/Bridge.test.ts (91%) rename tests/unit/{ => models}/bxml/verbs/Conference.test.ts (89%) rename tests/unit/{ => models}/bxml/verbs/CustomParam.test.ts (86%) rename tests/unit/{ => models}/bxml/verbs/Forward.test.ts (85%) rename tests/unit/{ => models}/bxml/verbs/Gather.test.ts (93%) rename tests/unit/{ => models}/bxml/verbs/Hangup.test.ts (71%) rename tests/unit/{ => models}/bxml/verbs/Pause.test.ts (73%) rename tests/unit/{ => models}/bxml/verbs/PauseRecording.test.ts (72%) rename tests/unit/{ => models}/bxml/verbs/PhoneNumber.test.ts (93%) rename tests/unit/{ => models}/bxml/verbs/PlayAudio.test.ts (79%) rename tests/unit/{ => models}/bxml/verbs/Record.test.ts (92%) rename tests/unit/{ => models}/bxml/verbs/Redirect.test.ts (87%) rename tests/unit/{ => models}/bxml/verbs/ResumeRecording.test.ts (73%) rename tests/unit/{ => models}/bxml/verbs/Ring.test.ts (75%) rename tests/unit/{ => models}/bxml/verbs/SendDtmf.test.ts (76%) rename tests/unit/{ => models}/bxml/verbs/SipUri.test.ts (90%) rename tests/unit/{ => models}/bxml/verbs/SpeakSentence.test.ts (89%) rename tests/unit/{ => models}/bxml/verbs/StartGather.test.ts (89%) rename tests/unit/{ => models}/bxml/verbs/StartRecording.test.ts (92%) rename tests/unit/{ => models}/bxml/verbs/StartStream.test.ts (95%) rename tests/unit/{ => models}/bxml/verbs/StartTranscription.test.ts (95%) rename tests/unit/{ => models}/bxml/verbs/StopGather.test.ts (72%) rename tests/unit/{ => models}/bxml/verbs/StopRecording.test.ts (72%) rename tests/unit/{ => models}/bxml/verbs/StopStream.test.ts (74%) rename tests/unit/{ => models}/bxml/verbs/StopTranscription.test.ts (84%) rename tests/unit/{ => models}/bxml/verbs/StreamParam.test.ts (86%) rename tests/unit/{ => models}/bxml/verbs/Tag.test.ts (71%) rename tests/unit/{ => models}/bxml/verbs/Transfer.test.ts (94%) rename tests/unit/{ => models}/call-direction-enum.test.ts (75%) rename tests/unit/{ => models}/call-state-enum.test.ts (76%) rename tests/unit/{ => models}/callback-method-enum.test.ts (73%) rename tests/unit/{ => models}/conference-state-enum.test.ts (75%) rename tests/unit/{ => models}/file-format-enum.test.ts (74%) rename tests/unit/{ => models}/list-message-direction-enum.test.ts (73%) rename tests/unit/{ => models}/lookup-status-enum.test.ts (83%) rename tests/unit/{ => models}/machine-detection-mode-enum.test.ts (72%) rename tests/unit/{ => models}/message-direction-enum.test.ts (73%) rename tests/unit/{ => models}/message-status-enum.test.ts (88%) rename tests/unit/{ => models}/message-type-enum.test.ts (74%) rename tests/unit/{ => models}/priority-enum.test.ts (76%) rename tests/unit/{ => models}/recording-state-enum.test.ts (75%) rename tests/unit/{ => models}/redirect-method-enum.test.ts (73%) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 58aa3a6..d5cb014 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -51,8 +51,8 @@ jobs: - name: Install Packages and Test run: | - npm i - npm test + yarn + yarn test-unit - name: Publish npm Package run: | diff --git a/.github/workflows/test-nightly.yml b/.github/workflows/test-nightly.yml index 4eb221b..fde19ea 100644 --- a/.github/workflows/test-nightly.yml +++ b/.github/workflows/test-nightly.yml @@ -1,4 +1,4 @@ -name: Test Main Branch Nightly +name: Nightly Smoke Tests on: schedule: @@ -26,13 +26,8 @@ env: jobs: test_main: - name: Test Main Branch Nightly - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [windows-2022, windows-2019, ubuntu-20.04, ubuntu-22.04] - node-version: [16, 18, 20, 22] - fail-fast: false + name: Nightly Smoke Test + runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 @@ -42,14 +37,14 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: ${{ matrix.node-version }} + node-version: 20 - name: Install Packages and Test run: | yarn - yarn test + yarn test-smoke env: - OPERATING_SYSTEM: ${{ matrix.os }} + OPERATING_SYSTEM: "ubuntu" notify_for_failures: name: Notify for Failures diff --git a/.github/workflows/test-pr.yml b/.github/workflows/test-pr.yml index 347246e..23b2690 100644 --- a/.github/workflows/test-pr.yml +++ b/.github/workflows/test-pr.yml @@ -46,6 +46,6 @@ jobs: - name: Install Packages and Test run: | yarn - yarn test + yarn test-unit env: OPERATING_SYSTEM: ${{ matrix.os }} diff --git a/custom_templates/package.mustache b/custom_templates/package.mustache index 45ce1e7..4e1b516 100644 --- a/custom_templates/package.mustache +++ b/custom_templates/package.mustache @@ -24,6 +24,8 @@ "scripts": { "build": "tsc {{#supportsES6}}&& tsc -p tsconfig.esm.json{{/supportsES6}}", "prepare": "npm run build", + "test-unit": "jest --coverage --detectOpenHandles --testPathPattern=tests/unit", + "test-smoke": "jest --coverage --detectOpenHandles --testPathPattern=tests/smoke", "test": "jest --coverage --detectOpenHandles" }, "dependencies": { diff --git a/package.json b/package.json index 63b1d6e..008bbc4 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,8 @@ "scripts": { "build": "tsc ", "prepare": "npm run build", + "test-unit": "jest --coverage --detectOpenHandles --testPathPattern=tests/unit", + "test-smoke": "jest --coverage --detectOpenHandles --testPathPattern=tests/smoke", "test": "jest --coverage --detectOpenHandles" }, "dependencies": { diff --git a/tests/integration/bxml.test.ts b/tests/smoke/bxml.test.ts similarity index 100% rename from tests/integration/bxml.test.ts rename to tests/smoke/bxml.test.ts diff --git a/tests/integration/calls-api.test.ts b/tests/smoke/calls-api.test.ts similarity index 100% rename from tests/integration/calls-api.test.ts rename to tests/smoke/calls-api.test.ts diff --git a/tests/integration/conferences-api.test.ts b/tests/smoke/conferences-api.test.ts similarity index 100% rename from tests/integration/conferences-api.test.ts rename to tests/smoke/conferences-api.test.ts diff --git a/tests/integration/media-api.test.ts b/tests/smoke/media-api.test.ts similarity index 100% rename from tests/integration/media-api.test.ts rename to tests/smoke/media-api.test.ts diff --git a/tests/integration/messages-api.test.ts b/tests/smoke/messages-api.test.ts similarity index 100% rename from tests/integration/messages-api.test.ts rename to tests/smoke/messages-api.test.ts diff --git a/tests/integration/mfaapi.test.ts b/tests/smoke/mfaapi.test.ts similarity index 100% rename from tests/integration/mfaapi.test.ts rename to tests/smoke/mfaapi.test.ts diff --git a/tests/integration/phone-number-lookup-api.test.ts b/tests/smoke/phone-number-lookup-api.test.ts similarity index 100% rename from tests/integration/phone-number-lookup-api.test.ts rename to tests/smoke/phone-number-lookup-api.test.ts diff --git a/tests/integration/recordings-api.test.ts b/tests/smoke/recordings-api.test.ts similarity index 100% rename from tests/integration/recordings-api.test.ts rename to tests/smoke/recordings-api.test.ts diff --git a/tests/integration/statistics-api.test.ts b/tests/smoke/statistics-api.test.ts similarity index 100% rename from tests/integration/statistics-api.test.ts rename to tests/smoke/statistics-api.test.ts diff --git a/tests/integration/transcriptions-api.test.ts b/tests/smoke/transcriptions-api.test.ts similarity index 100% rename from tests/integration/transcriptions-api.test.ts rename to tests/smoke/transcriptions-api.test.ts diff --git a/tests/unit/bxml/Bxml.test.ts b/tests/unit/models/bxml/Bxml.test.ts similarity index 89% rename from tests/unit/bxml/Bxml.test.ts rename to tests/unit/models/bxml/Bxml.test.ts index a7b491f..218a37e 100644 --- a/tests/unit/bxml/Bxml.test.ts +++ b/tests/unit/models/bxml/Bxml.test.ts @@ -1,6 +1,6 @@ -import { Bxml } from '../../../models/bxml/Bxml'; -import { PauseRecording } from '../../../models/bxml/verbs/PauseRecording'; -import { Root } from '../../../models/bxml/Root'; +import { Bxml } from '../../../../models/bxml/Bxml'; +import { PauseRecording } from '../../../../models/bxml/verbs/PauseRecording'; +import { Root } from '../../../../models/bxml/Root'; describe('Bxml', () => { const pauseRecording = new PauseRecording(); diff --git a/tests/unit/bxml/NestableVerb.test.ts b/tests/unit/models/bxml/NestableVerb.test.ts similarity index 72% rename from tests/unit/bxml/NestableVerb.test.ts rename to tests/unit/models/bxml/NestableVerb.test.ts index ec0991f..dd3b6e4 100644 --- a/tests/unit/bxml/NestableVerb.test.ts +++ b/tests/unit/models/bxml/NestableVerb.test.ts @@ -1,5 +1,5 @@ -import { Verb } from '../../../models/bxml/Verb'; -import { NestableVerb } from '../../../models/bxml/NestableVerb'; +import { Verb } from '../../../../models/bxml/Verb'; +import { NestableVerb } from '../../../../models/bxml/NestableVerb'; describe('NestableVerb', () => { test('should create a nestable verb', () => { diff --git a/tests/unit/bxml/Response.test.ts b/tests/unit/models/bxml/Response.test.ts similarity index 89% rename from tests/unit/bxml/Response.test.ts rename to tests/unit/models/bxml/Response.test.ts index 866cb8b..e70de26 100644 --- a/tests/unit/bxml/Response.test.ts +++ b/tests/unit/models/bxml/Response.test.ts @@ -1,6 +1,6 @@ -import { Response } from '../../../models/bxml/Response'; -import { PauseRecording } from '../../../models/bxml/verbs/PauseRecording'; -import { Root } from '../../../models/bxml/Root'; +import { Response } from '../../../../models/bxml/Response'; +import { PauseRecording } from '../../../../models/bxml/verbs/PauseRecording'; +import { Root } from '../../../../models/bxml/Root'; describe('Response', () => { const pauseRecording = new PauseRecording(); diff --git a/tests/unit/bxml/Verb.test.ts b/tests/unit/models/bxml/Verb.test.ts similarity index 82% rename from tests/unit/bxml/Verb.test.ts rename to tests/unit/models/bxml/Verb.test.ts index c6674d9..36a50be 100644 --- a/tests/unit/bxml/Verb.test.ts +++ b/tests/unit/models/bxml/Verb.test.ts @@ -1,4 +1,4 @@ -import { Verb } from '../../../models/bxml/Verb'; +import { Verb } from '../../../../models/bxml/Verb'; describe('Verb', () => { test('should create a verb', () => { diff --git a/tests/unit/bxml/verbs/Bridge.test.ts b/tests/unit/models/bxml/verbs/Bridge.test.ts similarity index 91% rename from tests/unit/bxml/verbs/Bridge.test.ts rename to tests/unit/models/bxml/verbs/Bridge.test.ts index 57815c0..0490308 100644 --- a/tests/unit/bxml/verbs/Bridge.test.ts +++ b/tests/unit/models/bxml/verbs/Bridge.test.ts @@ -1,5 +1,5 @@ -import { Verb } from '../../../../models/bxml/Verb'; -import { Bridge, BridgeAttributes } from '../../../../models/bxml/verbs/Bridge'; +import { Verb } from '../../../../../models/bxml/Verb'; +import { Bridge, BridgeAttributes } from '../../../../../models/bxml/verbs/Bridge'; describe('Bridge', () => { const attributes: BridgeAttributes = { diff --git a/tests/unit/bxml/verbs/Conference.test.ts b/tests/unit/models/bxml/verbs/Conference.test.ts similarity index 89% rename from tests/unit/bxml/verbs/Conference.test.ts rename to tests/unit/models/bxml/verbs/Conference.test.ts index f59bf6f..161c3d9 100644 --- a/tests/unit/bxml/verbs/Conference.test.ts +++ b/tests/unit/models/bxml/verbs/Conference.test.ts @@ -1,5 +1,5 @@ -import { Verb } from '../../../../models/bxml/Verb'; -import { Conference, ConferenceAttributes } from '../../../../models/bxml/verbs/Conference'; +import { Verb } from '../../../../../models/bxml/Verb'; +import { Conference, ConferenceAttributes } from '../../../../../models/bxml/verbs/Conference'; describe('Conference', () => { const attributes: ConferenceAttributes = { diff --git a/tests/unit/bxml/verbs/CustomParam.test.ts b/tests/unit/models/bxml/verbs/CustomParam.test.ts similarity index 86% rename from tests/unit/bxml/verbs/CustomParam.test.ts rename to tests/unit/models/bxml/verbs/CustomParam.test.ts index a47d011..9b48ac5 100644 --- a/tests/unit/bxml/verbs/CustomParam.test.ts +++ b/tests/unit/models/bxml/verbs/CustomParam.test.ts @@ -1,5 +1,5 @@ -import { Verb } from '../../../../models/bxml/Verb'; -import { CustomParam, CustomParamAttributes } from '../../../../models/bxml/verbs/CustomParam'; +import { Verb } from '../../../../../models/bxml/Verb'; +import { CustomParam, CustomParamAttributes } from '../../../../../models/bxml/verbs/CustomParam'; describe('CustomParam', () => { const attributes: CustomParamAttributes = { diff --git a/tests/unit/bxml/verbs/Forward.test.ts b/tests/unit/models/bxml/verbs/Forward.test.ts similarity index 85% rename from tests/unit/bxml/verbs/Forward.test.ts rename to tests/unit/models/bxml/verbs/Forward.test.ts index 08b99b7..10c43a5 100644 --- a/tests/unit/bxml/verbs/Forward.test.ts +++ b/tests/unit/models/bxml/verbs/Forward.test.ts @@ -1,5 +1,5 @@ -import { Verb } from '../../../../models/bxml/Verb'; -import { Forward, ForwardAttributes} from '../../../../models/bxml/verbs/Forward'; +import { Verb } from '../../../../../models/bxml/Verb'; +import { Forward, ForwardAttributes} from '../../../../../models/bxml/verbs/Forward'; describe('Forward', () => { const attributes: ForwardAttributes = { diff --git a/tests/unit/bxml/verbs/Gather.test.ts b/tests/unit/models/bxml/verbs/Gather.test.ts similarity index 93% rename from tests/unit/bxml/verbs/Gather.test.ts rename to tests/unit/models/bxml/verbs/Gather.test.ts index b5ec41a..97dc282 100644 --- a/tests/unit/bxml/verbs/Gather.test.ts +++ b/tests/unit/models/bxml/verbs/Gather.test.ts @@ -1,7 +1,7 @@ -import { Verb } from '../../../../models/bxml/Verb'; -import { Gather, GatherAttributes } from '../../../../models/bxml/verbs/Gather'; -import { PlayAudio } from '../../../../models/bxml/verbs/PlayAudio'; -import { SpeakSentence } from '../../../../models/bxml/verbs/SpeakSentence'; +import { Verb } from '../../../../../models/bxml/Verb'; +import { Gather, GatherAttributes } from '../../../../../models/bxml/verbs/Gather'; +import { PlayAudio } from '../../../../../models/bxml/verbs/PlayAudio'; +import { SpeakSentence } from '../../../../../models/bxml/verbs/SpeakSentence'; describe('Gather', () => { const attributes: GatherAttributes = { diff --git a/tests/unit/bxml/verbs/Hangup.test.ts b/tests/unit/models/bxml/verbs/Hangup.test.ts similarity index 71% rename from tests/unit/bxml/verbs/Hangup.test.ts rename to tests/unit/models/bxml/verbs/Hangup.test.ts index 291e821..6fa51fe 100644 --- a/tests/unit/bxml/verbs/Hangup.test.ts +++ b/tests/unit/models/bxml/verbs/Hangup.test.ts @@ -1,5 +1,5 @@ -import { Verb } from '../../../../models/bxml/Verb'; -import { Hangup } from '../../../../models/bxml/verbs/Hangup'; +import { Verb } from '../../../../../models/bxml/Verb'; +import { Hangup } from '../../../../../models/bxml/verbs/Hangup'; describe('Hangup', () => { const expected = ''; diff --git a/tests/unit/bxml/verbs/Pause.test.ts b/tests/unit/models/bxml/verbs/Pause.test.ts similarity index 73% rename from tests/unit/bxml/verbs/Pause.test.ts rename to tests/unit/models/bxml/verbs/Pause.test.ts index 7d8bd5a..f48e74e 100644 --- a/tests/unit/bxml/verbs/Pause.test.ts +++ b/tests/unit/models/bxml/verbs/Pause.test.ts @@ -1,5 +1,5 @@ -import { Verb } from '../../../../models/bxml/Verb'; -import { Pause, PauseAttributes } from '../../../../models/bxml/verbs/Pause'; +import { Verb } from '../../../../../models/bxml/Verb'; +import { Pause, PauseAttributes } from '../../../../../models/bxml/verbs/Pause'; describe('Pause', () => { const attributes: PauseAttributes = { diff --git a/tests/unit/bxml/verbs/PauseRecording.test.ts b/tests/unit/models/bxml/verbs/PauseRecording.test.ts similarity index 72% rename from tests/unit/bxml/verbs/PauseRecording.test.ts rename to tests/unit/models/bxml/verbs/PauseRecording.test.ts index 6af43ff..bb0d94f 100644 --- a/tests/unit/bxml/verbs/PauseRecording.test.ts +++ b/tests/unit/models/bxml/verbs/PauseRecording.test.ts @@ -1,5 +1,5 @@ -import { Verb } from '../../../../models/bxml/Verb'; -import { PauseRecording } from '../../../../models/bxml/verbs/PauseRecording'; +import { Verb } from '../../../../../models/bxml/Verb'; +import { PauseRecording } from '../../../../../models/bxml/verbs/PauseRecording'; describe('PauseRecording', () => { const expected = ''; diff --git a/tests/unit/bxml/verbs/PhoneNumber.test.ts b/tests/unit/models/bxml/verbs/PhoneNumber.test.ts similarity index 93% rename from tests/unit/bxml/verbs/PhoneNumber.test.ts rename to tests/unit/models/bxml/verbs/PhoneNumber.test.ts index b5a90b2..25c737f 100644 --- a/tests/unit/bxml/verbs/PhoneNumber.test.ts +++ b/tests/unit/models/bxml/verbs/PhoneNumber.test.ts @@ -1,5 +1,5 @@ -import { Verb } from '../../../../models/bxml/Verb'; -import { PhoneNumber, PhoneNumberAttributes } from '../../../../models/bxml/verbs/PhoneNumber'; +import { Verb } from '../../../../../models/bxml/Verb'; +import { PhoneNumber, PhoneNumberAttributes } from '../../../../../models/bxml/verbs/PhoneNumber'; describe('PhoneNumber', () => { const attributes: PhoneNumberAttributes = { diff --git a/tests/unit/bxml/verbs/PlayAudio.test.ts b/tests/unit/models/bxml/verbs/PlayAudio.test.ts similarity index 79% rename from tests/unit/bxml/verbs/PlayAudio.test.ts rename to tests/unit/models/bxml/verbs/PlayAudio.test.ts index 14a0c6a..d26249f 100644 --- a/tests/unit/bxml/verbs/PlayAudio.test.ts +++ b/tests/unit/models/bxml/verbs/PlayAudio.test.ts @@ -1,5 +1,5 @@ -import { Verb } from '../../../../models/bxml/Verb'; -import { PlayAudio, PlayAudioAttributes } from '../../../../models/bxml/verbs/PlayAudio'; +import { Verb } from '../../../../../models/bxml/Verb'; +import { PlayAudio, PlayAudioAttributes } from '../../../../../models/bxml/verbs/PlayAudio'; describe('PlayAudio', () => { const attributes: PlayAudioAttributes = { diff --git a/tests/unit/bxml/verbs/Record.test.ts b/tests/unit/models/bxml/verbs/Record.test.ts similarity index 92% rename from tests/unit/bxml/verbs/Record.test.ts rename to tests/unit/models/bxml/verbs/Record.test.ts index bb9e224..c47b113 100644 --- a/tests/unit/bxml/verbs/Record.test.ts +++ b/tests/unit/models/bxml/verbs/Record.test.ts @@ -1,5 +1,5 @@ -import { Verb } from '../../../../models/bxml/Verb'; -import { Record, RecordAttributes } from '../../../../models/bxml/verbs/Record'; +import { Verb } from '../../../../../models/bxml/Verb'; +import { Record, RecordAttributes } from '../../../../../models/bxml/verbs/Record'; describe('Record', () => { const attributes: RecordAttributes = { diff --git a/tests/unit/bxml/verbs/Redirect.test.ts b/tests/unit/models/bxml/verbs/Redirect.test.ts similarity index 87% rename from tests/unit/bxml/verbs/Redirect.test.ts rename to tests/unit/models/bxml/verbs/Redirect.test.ts index 96a4789..b2c6ecc 100644 --- a/tests/unit/bxml/verbs/Redirect.test.ts +++ b/tests/unit/models/bxml/verbs/Redirect.test.ts @@ -1,5 +1,5 @@ -import { Verb } from '../../../../models/bxml/Verb'; -import { Redirect, RedirectAttributes } from '../../../../models/bxml/verbs/Redirect'; +import { Verb } from '../../../../../models/bxml/Verb'; +import { Redirect, RedirectAttributes } from '../../../../../models/bxml/verbs/Redirect'; describe('Redirect', () => { const attributes: RedirectAttributes = { diff --git a/tests/unit/bxml/verbs/ResumeRecording.test.ts b/tests/unit/models/bxml/verbs/ResumeRecording.test.ts similarity index 73% rename from tests/unit/bxml/verbs/ResumeRecording.test.ts rename to tests/unit/models/bxml/verbs/ResumeRecording.test.ts index b91e1d9..79da331 100644 --- a/tests/unit/bxml/verbs/ResumeRecording.test.ts +++ b/tests/unit/models/bxml/verbs/ResumeRecording.test.ts @@ -1,5 +1,5 @@ -import { Verb } from '../../../../models/bxml/Verb'; -import { ResumeRecording } from '../../../../models/bxml/verbs/ResumeRecording'; +import { Verb } from '../../../../../models/bxml/Verb'; +import { ResumeRecording } from '../../../../../models/bxml/verbs/ResumeRecording'; describe('ResumeRecording', () => { const expected = ''; diff --git a/tests/unit/bxml/verbs/Ring.test.ts b/tests/unit/models/bxml/verbs/Ring.test.ts similarity index 75% rename from tests/unit/bxml/verbs/Ring.test.ts rename to tests/unit/models/bxml/verbs/Ring.test.ts index f837655..b54005a 100644 --- a/tests/unit/bxml/verbs/Ring.test.ts +++ b/tests/unit/models/bxml/verbs/Ring.test.ts @@ -1,5 +1,5 @@ -import { Verb } from '../../../../models/bxml/Verb'; -import { Ring, RingAttributes } from '../../../../models/bxml/verbs/Ring'; +import { Verb } from '../../../../../models/bxml/Verb'; +import { Ring, RingAttributes } from '../../../../../models/bxml/verbs/Ring'; describe('Ring', () => { const attributes: RingAttributes = { diff --git a/tests/unit/bxml/verbs/SendDtmf.test.ts b/tests/unit/models/bxml/verbs/SendDtmf.test.ts similarity index 76% rename from tests/unit/bxml/verbs/SendDtmf.test.ts rename to tests/unit/models/bxml/verbs/SendDtmf.test.ts index 2cfc11c..51e64f9 100644 --- a/tests/unit/bxml/verbs/SendDtmf.test.ts +++ b/tests/unit/models/bxml/verbs/SendDtmf.test.ts @@ -1,5 +1,5 @@ -import { Verb } from '../../../../models/bxml/Verb'; -import { SendDtmf, SendDtmfAttributes } from '../../../../models/bxml/verbs/SendDtmf'; +import { Verb } from '../../../../../models/bxml/Verb'; +import { SendDtmf, SendDtmfAttributes } from '../../../../../models/bxml/verbs/SendDtmf'; describe('SendDtmf', () => { const attributes: SendDtmfAttributes = { diff --git a/tests/unit/bxml/verbs/SipUri.test.ts b/tests/unit/models/bxml/verbs/SipUri.test.ts similarity index 90% rename from tests/unit/bxml/verbs/SipUri.test.ts rename to tests/unit/models/bxml/verbs/SipUri.test.ts index 59f962f..52f963f 100644 --- a/tests/unit/bxml/verbs/SipUri.test.ts +++ b/tests/unit/models/bxml/verbs/SipUri.test.ts @@ -1,5 +1,5 @@ -import { Verb } from '../../../../models/bxml/Verb'; -import { SipUri, SipUriAttributes } from '../../../../models/bxml/verbs/SipUri'; +import { Verb } from '../../../../../models/bxml/Verb'; +import { SipUri, SipUriAttributes } from '../../../../../models/bxml/verbs/SipUri'; describe('SipUri', () => { const attributes: SipUriAttributes = { diff --git a/tests/unit/bxml/verbs/SpeakSentence.test.ts b/tests/unit/models/bxml/verbs/SpeakSentence.test.ts similarity index 89% rename from tests/unit/bxml/verbs/SpeakSentence.test.ts rename to tests/unit/models/bxml/verbs/SpeakSentence.test.ts index f7e9b2e..172d0ca 100644 --- a/tests/unit/bxml/verbs/SpeakSentence.test.ts +++ b/tests/unit/models/bxml/verbs/SpeakSentence.test.ts @@ -1,5 +1,5 @@ -import { Verb } from '../../../../models/bxml/Verb'; -import { SpeakSentence, SpeakSentenceAttributes } from '../../../../models/bxml/verbs/SpeakSentence'; +import { Verb } from '../../../../../models/bxml/Verb'; +import { SpeakSentence, SpeakSentenceAttributes } from '../../../../../models/bxml/verbs/SpeakSentence'; describe('SpeakSentence', () => { const attributes: SpeakSentenceAttributes = { diff --git a/tests/unit/bxml/verbs/StartGather.test.ts b/tests/unit/models/bxml/verbs/StartGather.test.ts similarity index 89% rename from tests/unit/bxml/verbs/StartGather.test.ts rename to tests/unit/models/bxml/verbs/StartGather.test.ts index 7208ba4..79d842a 100644 --- a/tests/unit/bxml/verbs/StartGather.test.ts +++ b/tests/unit/models/bxml/verbs/StartGather.test.ts @@ -1,5 +1,5 @@ -import { Verb } from '../../../../models/bxml/Verb'; -import { StartGather, StartGatherAttributes } from '../../../../models/bxml/verbs/StartGather'; +import { Verb } from '../../../../../models/bxml/Verb'; +import { StartGather, StartGatherAttributes } from '../../../../../models/bxml/verbs/StartGather'; describe('CustomParam', () => { const attributes: StartGatherAttributes = { diff --git a/tests/unit/bxml/verbs/StartRecording.test.ts b/tests/unit/models/bxml/verbs/StartRecording.test.ts similarity index 92% rename from tests/unit/bxml/verbs/StartRecording.test.ts rename to tests/unit/models/bxml/verbs/StartRecording.test.ts index b9e2082..780064c 100644 --- a/tests/unit/bxml/verbs/StartRecording.test.ts +++ b/tests/unit/models/bxml/verbs/StartRecording.test.ts @@ -1,5 +1,5 @@ -import { Verb } from '../../../../models/bxml/Verb'; -import { StartRecording, StartRecordingAttributes } from '../../../../models/bxml/verbs/StartRecording'; +import { Verb } from '../../../../../models/bxml/Verb'; +import { StartRecording, StartRecordingAttributes } from '../../../../../models/bxml/verbs/StartRecording'; describe('StartRecording', () => { const attributes: StartRecordingAttributes = { diff --git a/tests/unit/bxml/verbs/StartStream.test.ts b/tests/unit/models/bxml/verbs/StartStream.test.ts similarity index 95% rename from tests/unit/bxml/verbs/StartStream.test.ts rename to tests/unit/models/bxml/verbs/StartStream.test.ts index 8b42fff..ae119b7 100644 --- a/tests/unit/bxml/verbs/StartStream.test.ts +++ b/tests/unit/models/bxml/verbs/StartStream.test.ts @@ -1,6 +1,6 @@ -import { Verb } from '../../../../models/bxml/Verb'; -import { StartStream, StartStreamAttributes } from '../../../../models/bxml/verbs/StartStream'; -import { StreamParam } from '../../../../models/bxml/verbs/StreamParam'; +import { Verb } from '../../../../../models/bxml/Verb'; +import { StartStream, StartStreamAttributes } from '../../../../../models/bxml/verbs/StartStream'; +import { StreamParam } from '../../../../../models/bxml/verbs/StreamParam'; describe('StartStream', () => { const attributes: StartStreamAttributes = { diff --git a/tests/unit/bxml/verbs/StartTranscription.test.ts b/tests/unit/models/bxml/verbs/StartTranscription.test.ts similarity index 95% rename from tests/unit/bxml/verbs/StartTranscription.test.ts rename to tests/unit/models/bxml/verbs/StartTranscription.test.ts index df928cf..162c5ea 100644 --- a/tests/unit/bxml/verbs/StartTranscription.test.ts +++ b/tests/unit/models/bxml/verbs/StartTranscription.test.ts @@ -1,6 +1,6 @@ -import { Verb } from '../../../../models/bxml/Verb'; -import { StartTranscription, StartTranscriptionAttributes } from '../../../../models/bxml/verbs/StartTranscription'; -import { CustomParam } from '../../../../models/bxml/verbs/CustomParam'; +import { Verb } from '../../../../../models/bxml/Verb'; +import { StartTranscription, StartTranscriptionAttributes } from '../../../../../models/bxml/verbs/StartTranscription'; +import { CustomParam } from '../../../../../models/bxml/verbs/CustomParam'; describe('StartTranscription', () => { const attributes: StartTranscriptionAttributes = { diff --git a/tests/unit/bxml/verbs/StopGather.test.ts b/tests/unit/models/bxml/verbs/StopGather.test.ts similarity index 72% rename from tests/unit/bxml/verbs/StopGather.test.ts rename to tests/unit/models/bxml/verbs/StopGather.test.ts index 77372e6..cb027fb 100644 --- a/tests/unit/bxml/verbs/StopGather.test.ts +++ b/tests/unit/models/bxml/verbs/StopGather.test.ts @@ -1,5 +1,5 @@ -import { Verb } from '../../../../models/bxml/Verb'; -import { StopGather } from '../../../../models/bxml/verbs/StopGather'; +import { Verb } from '../../../../../models/bxml/Verb'; +import { StopGather } from '../../../../../models/bxml/verbs/StopGather'; describe('StopGather', () => { const expected = ''; diff --git a/tests/unit/bxml/verbs/StopRecording.test.ts b/tests/unit/models/bxml/verbs/StopRecording.test.ts similarity index 72% rename from tests/unit/bxml/verbs/StopRecording.test.ts rename to tests/unit/models/bxml/verbs/StopRecording.test.ts index 1081f56..d934d97 100644 --- a/tests/unit/bxml/verbs/StopRecording.test.ts +++ b/tests/unit/models/bxml/verbs/StopRecording.test.ts @@ -1,5 +1,5 @@ -import { Verb } from '../../../../models/bxml/Verb'; -import { StopRecording } from '../../../../models/bxml/verbs/StopRecording'; +import { Verb } from '../../../../../models/bxml/Verb'; +import { StopRecording } from '../../../../../models/bxml/verbs/StopRecording'; describe('StopRecording', () => { const expected = ''; diff --git a/tests/unit/bxml/verbs/StopStream.test.ts b/tests/unit/models/bxml/verbs/StopStream.test.ts similarity index 74% rename from tests/unit/bxml/verbs/StopStream.test.ts rename to tests/unit/models/bxml/verbs/StopStream.test.ts index 9a30949..8ecb377 100644 --- a/tests/unit/bxml/verbs/StopStream.test.ts +++ b/tests/unit/models/bxml/verbs/StopStream.test.ts @@ -1,5 +1,5 @@ -import { Verb } from '../../../../models/bxml/Verb'; -import { StopStream, StopStreamAttributes } from '../../../../models/bxml/verbs/StopStream'; +import { Verb } from '../../../../../models/bxml/Verb'; +import { StopStream, StopStreamAttributes } from '../../../../../models/bxml/verbs/StopStream'; describe('StopStream', () => { const attributes: StopStreamAttributes = { diff --git a/tests/unit/bxml/verbs/StopTranscription.test.ts b/tests/unit/models/bxml/verbs/StopTranscription.test.ts similarity index 84% rename from tests/unit/bxml/verbs/StopTranscription.test.ts rename to tests/unit/models/bxml/verbs/StopTranscription.test.ts index 480865e..35090b3 100644 --- a/tests/unit/bxml/verbs/StopTranscription.test.ts +++ b/tests/unit/models/bxml/verbs/StopTranscription.test.ts @@ -1,5 +1,5 @@ -import { Verb } from '../../../../models/bxml/Verb'; -import { StopTranscription, StopTranscriptionAttributes } from '../../../../models/bxml/verbs/StopTranscription'; +import { Verb } from '../../../../../models/bxml/Verb'; +import { StopTranscription, StopTranscriptionAttributes } from '../../../../../models/bxml/verbs/StopTranscription'; describe('StopTranscription', () => { const attributes: StopTranscriptionAttributes = { diff --git a/tests/unit/bxml/verbs/StreamParam.test.ts b/tests/unit/models/bxml/verbs/StreamParam.test.ts similarity index 86% rename from tests/unit/bxml/verbs/StreamParam.test.ts rename to tests/unit/models/bxml/verbs/StreamParam.test.ts index aef8e6f..509e338 100644 --- a/tests/unit/bxml/verbs/StreamParam.test.ts +++ b/tests/unit/models/bxml/verbs/StreamParam.test.ts @@ -1,5 +1,5 @@ -import { Verb } from '../../../../models/bxml/Verb'; -import { StreamParam, StreamParamAttributes } from '../../../../models/bxml/verbs/StreamParam'; +import { Verb } from '../../../../../models/bxml/Verb'; +import { StreamParam, StreamParamAttributes } from '../../../../../models/bxml/verbs/StreamParam'; describe('StreamParam', () => { const attributes: StreamParamAttributes = { diff --git a/tests/unit/bxml/verbs/Tag.test.ts b/tests/unit/models/bxml/verbs/Tag.test.ts similarity index 71% rename from tests/unit/bxml/verbs/Tag.test.ts rename to tests/unit/models/bxml/verbs/Tag.test.ts index 2f342ba..51b3aea 100644 --- a/tests/unit/bxml/verbs/Tag.test.ts +++ b/tests/unit/models/bxml/verbs/Tag.test.ts @@ -1,5 +1,5 @@ -import { Verb } from '../../../../models/bxml/Verb'; -import { Tag } from '../../../../models/bxml/verbs/Tag'; +import { Verb } from '../../../../../models/bxml/Verb'; +import { Tag } from '../../../../../models/bxml/verbs/Tag'; describe('Tag', () => { const expected = 'testTag'; diff --git a/tests/unit/bxml/verbs/Transfer.test.ts b/tests/unit/models/bxml/verbs/Transfer.test.ts similarity index 94% rename from tests/unit/bxml/verbs/Transfer.test.ts rename to tests/unit/models/bxml/verbs/Transfer.test.ts index b5698d8..b086152 100644 --- a/tests/unit/bxml/verbs/Transfer.test.ts +++ b/tests/unit/models/bxml/verbs/Transfer.test.ts @@ -1,7 +1,7 @@ -import { Verb } from '../../../../models/bxml/Verb'; -import { PhoneNumber } from '../../../../models/bxml/verbs/PhoneNumber'; -import { SipUri } from '../../../../models/bxml/verbs/SipUri'; -import { Transfer, TransferAttributes } from '../../../../models/bxml/verbs/Transfer'; +import { Verb } from '../../../../../models/bxml/Verb'; +import { PhoneNumber } from '../../../../../models/bxml/verbs/PhoneNumber'; +import { SipUri } from '../../../../../models/bxml/verbs/SipUri'; +import { Transfer, TransferAttributes } from '../../../../../models/bxml/verbs/Transfer'; describe('Transfer', () => { const attributes: TransferAttributes = { diff --git a/tests/unit/call-direction-enum.test.ts b/tests/unit/models/call-direction-enum.test.ts similarity index 75% rename from tests/unit/call-direction-enum.test.ts rename to tests/unit/models/call-direction-enum.test.ts index 83506bf..9631af8 100644 --- a/tests/unit/call-direction-enum.test.ts +++ b/tests/unit/models/call-direction-enum.test.ts @@ -1,4 +1,4 @@ -import { CallDirectionEnum } from '../../models/call-direction-enum'; +import { CallDirectionEnum } from '../../../models/call-direction-enum'; describe('CallDirectionEnum', () => { test('should define the expected values', () => { diff --git a/tests/unit/call-state-enum.test.ts b/tests/unit/models/call-state-enum.test.ts similarity index 76% rename from tests/unit/call-state-enum.test.ts rename to tests/unit/models/call-state-enum.test.ts index 2809c8d..2d46612 100644 --- a/tests/unit/call-state-enum.test.ts +++ b/tests/unit/models/call-state-enum.test.ts @@ -1,4 +1,4 @@ -import { CallStateEnum } from '../../models/call-state-enum'; +import { CallStateEnum } from '../../../models/call-state-enum'; describe('CallStateEnum', () => { test('should define the expected values', () => { diff --git a/tests/unit/callback-method-enum.test.ts b/tests/unit/models/callback-method-enum.test.ts similarity index 73% rename from tests/unit/callback-method-enum.test.ts rename to tests/unit/models/callback-method-enum.test.ts index f810d35..d9db33b 100644 --- a/tests/unit/callback-method-enum.test.ts +++ b/tests/unit/models/callback-method-enum.test.ts @@ -1,4 +1,4 @@ -import { CallbackMethodEnum } from '../../models/callback-method-enum'; +import { CallbackMethodEnum } from '../../../models/callback-method-enum'; describe('CallbackMethodEnum', () => { test('should define the expected values', () => { diff --git a/tests/unit/conference-state-enum.test.ts b/tests/unit/models/conference-state-enum.test.ts similarity index 75% rename from tests/unit/conference-state-enum.test.ts rename to tests/unit/models/conference-state-enum.test.ts index 605bde5..4597c76 100644 --- a/tests/unit/conference-state-enum.test.ts +++ b/tests/unit/models/conference-state-enum.test.ts @@ -1,4 +1,4 @@ -import { ConferenceStateEnum } from '../../models/conference-state-enum'; +import { ConferenceStateEnum } from '../../../models/conference-state-enum'; describe('ConferenceStateEnum', () => { test('should define the expected values', () => { diff --git a/tests/unit/file-format-enum.test.ts b/tests/unit/models/file-format-enum.test.ts similarity index 74% rename from tests/unit/file-format-enum.test.ts rename to tests/unit/models/file-format-enum.test.ts index 5a6bac4..4ea9afe 100644 --- a/tests/unit/file-format-enum.test.ts +++ b/tests/unit/models/file-format-enum.test.ts @@ -1,4 +1,4 @@ -import { FileFormatEnum } from '../../models/file-format-enum'; +import { FileFormatEnum } from '../../../models/file-format-enum'; describe('FileFormatEnum', () => { test('should define the expected values', () => { diff --git a/tests/unit/list-message-direction-enum.test.ts b/tests/unit/models/list-message-direction-enum.test.ts similarity index 73% rename from tests/unit/list-message-direction-enum.test.ts rename to tests/unit/models/list-message-direction-enum.test.ts index a0f2c39..e5b54fd 100644 --- a/tests/unit/list-message-direction-enum.test.ts +++ b/tests/unit/models/list-message-direction-enum.test.ts @@ -1,4 +1,4 @@ -import { ListMessageDirectionEnum } from '../../models/list-message-direction-enum'; +import { ListMessageDirectionEnum } from '../../../models/list-message-direction-enum'; describe('ListMessageDirectionEnum', () => { test('should define the expected values', () => { diff --git a/tests/unit/lookup-status-enum.test.ts b/tests/unit/models/lookup-status-enum.test.ts similarity index 83% rename from tests/unit/lookup-status-enum.test.ts rename to tests/unit/models/lookup-status-enum.test.ts index 8b42b8e..a39beb6 100644 --- a/tests/unit/lookup-status-enum.test.ts +++ b/tests/unit/models/lookup-status-enum.test.ts @@ -1,4 +1,4 @@ -import { LookupStatusEnum } from '../../models/lookup-status-enum'; +import { LookupStatusEnum } from '../../../models/lookup-status-enum'; describe('LookupStatusEnum', () => { test('should define the expected values', () => { diff --git a/tests/unit/machine-detection-mode-enum.test.ts b/tests/unit/models/machine-detection-mode-enum.test.ts similarity index 72% rename from tests/unit/machine-detection-mode-enum.test.ts rename to tests/unit/models/machine-detection-mode-enum.test.ts index c12b111..22c5ee3 100644 --- a/tests/unit/machine-detection-mode-enum.test.ts +++ b/tests/unit/models/machine-detection-mode-enum.test.ts @@ -1,4 +1,4 @@ -import { MachineDetectionModeEnum } from '../../models/machine-detection-mode-enum'; +import { MachineDetectionModeEnum } from '../../../models/machine-detection-mode-enum'; describe('MachineDetectionModeEnum', () => { test('should define the expected values', () => { diff --git a/tests/unit/message-direction-enum.test.ts b/tests/unit/models/message-direction-enum.test.ts similarity index 73% rename from tests/unit/message-direction-enum.test.ts rename to tests/unit/models/message-direction-enum.test.ts index 6760cf5..af5a8b0 100644 --- a/tests/unit/message-direction-enum.test.ts +++ b/tests/unit/models/message-direction-enum.test.ts @@ -1,4 +1,4 @@ -import { MessageDirectionEnum } from '../../models/message-direction-enum'; +import { MessageDirectionEnum } from '../../../models/message-direction-enum'; describe('MessageDirectionEnum', () => { test('should define the expected values', () => { diff --git a/tests/unit/message-status-enum.test.ts b/tests/unit/models/message-status-enum.test.ts similarity index 88% rename from tests/unit/message-status-enum.test.ts rename to tests/unit/models/message-status-enum.test.ts index ef4dde5..26fbb49 100644 --- a/tests/unit/message-status-enum.test.ts +++ b/tests/unit/models/message-status-enum.test.ts @@ -1,4 +1,4 @@ -import { MessageStatusEnum } from '../../models/message-status-enum'; +import { MessageStatusEnum } from '../../../models/message-status-enum'; describe('MessageStatusEnum', () => { test('should define the expected values', () => { diff --git a/tests/unit/message-type-enum.test.ts b/tests/unit/models/message-type-enum.test.ts similarity index 74% rename from tests/unit/message-type-enum.test.ts rename to tests/unit/models/message-type-enum.test.ts index fecf2ff..c7d7883 100644 --- a/tests/unit/message-type-enum.test.ts +++ b/tests/unit/models/message-type-enum.test.ts @@ -1,4 +1,4 @@ -import { MessageTypeEnum } from '../../models/message-type-enum'; +import { MessageTypeEnum } from '../../../models/message-type-enum'; describe('MessageTypeEnum', () => { test('should define the expected values', () => { diff --git a/tests/unit/priority-enum.test.ts b/tests/unit/models/priority-enum.test.ts similarity index 76% rename from tests/unit/priority-enum.test.ts rename to tests/unit/models/priority-enum.test.ts index f209ba4..c1bcfc4 100644 --- a/tests/unit/priority-enum.test.ts +++ b/tests/unit/models/priority-enum.test.ts @@ -1,4 +1,4 @@ -import { PriorityEnum } from '../../models/priority-enum'; +import { PriorityEnum } from '../../../models/priority-enum'; describe('PriorityEnum', () => { test('should define the expected values', () => { diff --git a/tests/unit/recording-state-enum.test.ts b/tests/unit/models/recording-state-enum.test.ts similarity index 75% rename from tests/unit/recording-state-enum.test.ts rename to tests/unit/models/recording-state-enum.test.ts index cb5abb4..1585e38 100644 --- a/tests/unit/recording-state-enum.test.ts +++ b/tests/unit/models/recording-state-enum.test.ts @@ -1,4 +1,4 @@ -import { RecordingStateEnum } from '../../models/recording-state-enum'; +import { RecordingStateEnum } from '../../../models/recording-state-enum'; describe('RecordingStateEnum', () => { test('should define the expected values', () => { diff --git a/tests/unit/redirect-method-enum.test.ts b/tests/unit/models/redirect-method-enum.test.ts similarity index 73% rename from tests/unit/redirect-method-enum.test.ts rename to tests/unit/models/redirect-method-enum.test.ts index acfbc2a..77b06a1 100644 --- a/tests/unit/redirect-method-enum.test.ts +++ b/tests/unit/models/redirect-method-enum.test.ts @@ -1,4 +1,4 @@ -import { RedirectMethodEnum } from '../../models/redirect-method-enum'; +import { RedirectMethodEnum } from '../../../models/redirect-method-enum'; describe('RedirectMethodEnum', () => { test('should define the expected values', () => {