Use DurationInSeconds for expireTimer
This commit is contained in:
parent
cf57c7aaf0
commit
6be69a7ba8
59 changed files with 411 additions and 216 deletions
|
@ -5,13 +5,14 @@ import { assert } from 'chai';
|
|||
import * as sinon from 'sinon';
|
||||
import { RowType } from '../../../components/ConversationList';
|
||||
import { getDefaultConversation } from '../../../test-both/helpers/getDefaultConversation';
|
||||
import { DurationInSeconds } from '../../../util/durations';
|
||||
|
||||
import { LeftPaneSetGroupMetadataHelper } from '../../../components/leftPane/LeftPaneSetGroupMetadataHelper';
|
||||
|
||||
function getComposeState() {
|
||||
return {
|
||||
groupAvatar: undefined,
|
||||
groupExpireTimer: 0,
|
||||
groupExpireTimer: DurationInSeconds.ZERO,
|
||||
groupName: '',
|
||||
hasError: false,
|
||||
isCreating: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue