Skip to content

Commit e771e39

Browse files
Change default room type back to group rooms (#861)
1 parent ba3ee22 commit e771e39

File tree

4 files changed

+24
-18
lines changed

4 files changed

+24
-18
lines changed

.circleci/config.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ jobs:
2727
- ~/.npm
2828
- ~/.cache
2929

30-
# - run:
31-
# name: 'Jest Unit Tests'
32-
# command: npm run test:ci
33-
# environment:
34-
# JEST_JUNIT_OUTPUT_DIR: 'test-reports/jest'
35-
# JEST_JUNIT_OUTPUT_NAME: 'results.xml'
36-
# JEST_JUNIT_CLASSNAME: '{classname}'
37-
# JEST_JUNIT_TITLE: '{title}'
38-
39-
# - store_artifacts:
40-
# path: coverage
30+
- run:
31+
name: 'Jest Unit Tests'
32+
command: npm run test:ci
33+
environment:
34+
JEST_JUNIT_OUTPUT_DIR: 'test-reports/jest'
35+
JEST_JUNIT_OUTPUT_NAME: 'results.xml'
36+
JEST_JUNIT_CLASSNAME: '{classname}'
37+
JEST_JUNIT_TITLE: '{title}'
38+
39+
- store_artifacts:
40+
path: coverage
4141

4242
- run:
4343
name: 'Eslint'
@@ -59,13 +59,13 @@ jobs:
5959
echo TWILIO_API_KEY_SECRET=$TWILIO_API_SECRET >> .env
6060
echo TWILIO_CONVERSATIONS_SERVICE_SID=$TWILIO_CONVERSATIONS_SERVICE_SID >> .env
6161
62-
# - run: npm run cypress:ci
62+
- run: npm run cypress:ci
6363

64-
# - store_artifacts:
65-
# path: cypress/screenshots
64+
- store_artifacts:
65+
path: cypress/screenshots
6666

67-
# - store_test_results:
68-
# path: test-reports
67+
- store_test_results:
68+
path: test-reports
6969

7070
# Rebuild app with firebase auth enabled
7171
- run:

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 0.11.3
2+
3+
### Changes
4+
5+
- Change default room type to group rooms.
6+
17
## 0.11.2
28

39
### Changes

server/__tests__/createExpressHandler.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ describe('the createExpressHandler function', () => {
3535
expect(context).toEqual({
3636
ACCOUNT_SID: 'mockAccountSid',
3737
CONVERSATIONS_SERVICE_SID: 'mockConversationsServiceSid',
38-
ROOM_TYPE: 'peer-to-peer',
38+
ROOM_TYPE: 'group',
3939
TWILIO_API_KEY_SECRET: 'mockApiKeySecret',
4040
TWILIO_API_KEY_SID: 'mockApiKeySid',
4141
getTwilioClient: expect.any(Function),

server/createExpressHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const context: ServerlessContext = {
2020
ACCOUNT_SID: TWILIO_ACCOUNT_SID,
2121
TWILIO_API_KEY_SID,
2222
TWILIO_API_KEY_SECRET,
23-
ROOM_TYPE: 'peer-to-peer',
23+
ROOM_TYPE: 'group',
2424
CONVERSATIONS_SERVICE_SID: TWILIO_CONVERSATIONS_SERVICE_SID,
2525
getTwilioClient: () => twilioClient,
2626
};

0 commit comments

Comments
 (0)