Skip to content

Commit

Permalink
remove skipped tests and detectOpenHandles
Browse files Browse the repository at this point in the history
  • Loading branch information
ckoegel committed Oct 18, 2023
1 parent f1c72b9 commit 4a6ad30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"scripts": {
"build": "tsc ",
"prepare": "npm run build",
"test": "jest --coverage"
"test": "jest --coverage --detectOpenHandles"
},
"dependencies": {
"axios": "^0.27.2",
Expand Down
6 changes: 3 additions & 3 deletions tests/integration/calls-api.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ describe('CallsApi', () => {
});

describe('getCall', () => {
test.skip('should return a call', async () => {
test('should return a call', async () => {
await sleep(40); // wait 40s for voice API to update call status
const { status, data } = await callsApi.getCallState(BW_ACCOUNT_ID, callId);

Expand All @@ -104,7 +104,7 @@ describe('CallsApi', () => {
});

describe('updateCall', () => {
test.skip('should update a call', async () => {
test('should update a call', async () => {
const updateCallBody = {
state: CallStateEnum.Active,
redirectUrl: `${MANTECA_BASE_URL}/bxml/pause`
Expand All @@ -126,7 +126,7 @@ describe('CallsApi', () => {
});

describe('updateCallBxml', () => {
test.skip('should update a call with bxml', async () => {
test('should update a call with bxml', async () => {
const updateBxml = '<?xml version="1.0" encoding="UTF-8"?><Bxml><SpeakSentence locale="en_US" gender="female" voice="susan">This is a test bxml response</SpeakSentence><Pause duration="3"/></Bxml>';

const updateCallId = await createMantecaCall(callsApi);
Expand Down

0 comments on commit 4a6ad30

Please sign in to comment.