2021-06-01 20:45:43 +00:00
|
|
|
// Copyright 2021 Signal Messenger, LLC
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
2021-08-26 14:10:58 +00:00
|
|
|
import * as durations from '../../util/durations';
|
2021-06-01 20:45:43 +00:00
|
|
|
|
2021-08-26 14:10:58 +00:00
|
|
|
export type TestExpireTimer = Readonly<{ value: number; label: string }>;
|
2021-06-01 20:45:43 +00:00
|
|
|
|
|
|
|
export const EXPIRE_TIMERS: ReadonlyArray<TestExpireTimer> = [
|
2021-08-26 14:10:58 +00:00
|
|
|
{ value: 42 * durations.SECOND, label: '42 seconds' },
|
|
|
|
{ value: 5 * durations.MINUTE, label: '5 minutes' },
|
|
|
|
{ value: 1 * durations.HOUR, label: '1 hour' },
|
|
|
|
{ value: 6 * durations.DAY, label: '6 days' },
|
|
|
|
{ value: 3 * durations.WEEK, label: '3 weeks' },
|
2021-06-01 20:45:43 +00:00
|
|
|
];
|