mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-20 10:19:08 +00:00
Update poll create placeholder text, fix test flake
Co-authored-by: yash-signal <yash@signal.org>
This commit is contained in:
@@ -1527,7 +1527,7 @@
|
|||||||
"description": "Label for the poll question input field"
|
"description": "Label for the poll question input field"
|
||||||
},
|
},
|
||||||
"icu:PollCreateModal__questionPlaceholder": {
|
"icu:PollCreateModal__questionPlaceholder": {
|
||||||
"messageformat": "What should we order for lunch?",
|
"messageformat": "Ask a question",
|
||||||
"description": "Placeholder text for the poll question input field"
|
"description": "Placeholder text for the poll question input field"
|
||||||
},
|
},
|
||||||
"icu:PollCreateModal__optionsLabel": {
|
"icu:PollCreateModal__optionsLabel": {
|
||||||
|
|||||||
@@ -122,7 +122,7 @@ describe('electron/state/ducks/username', () => {
|
|||||||
delay: 1000,
|
delay: 1000,
|
||||||
})(dispatch, () => emptyState, null);
|
})(dispatch, () => emptyState, null);
|
||||||
|
|
||||||
await clock.runToLastAsync();
|
await clock.tickAsync(1000);
|
||||||
assert.strictEqual(clock.now, 1000);
|
assert.strictEqual(clock.now, 1000);
|
||||||
|
|
||||||
sinon.assert.calledOnce(dispatch);
|
sinon.assert.calledOnce(dispatch);
|
||||||
|
|||||||
Reference in New Issue
Block a user