Update compose CW tests

tl-language-filters
Alex Gleason 2020-07-28 10:57:20 -05:00
rodzic 2aca716cfa
commit 665a27d4c9
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 0 dodań i 2 usunięć

Wyświetl plik

@ -168,7 +168,6 @@ describe('compose reducer', () => {
});
});
//Remove this test once spoiler is decoupled from marking media as sensitive
it('should handle COMPOSE_SENSITIVITY_CHANGE on Mark Sensitive click, don\'t toggle if spoiler active', () => {
const state = ImmutableMap({ spoiler: true, sensitive: true, idempotencyKey: null });
const action = {
@ -179,7 +178,6 @@ describe('compose reducer', () => {
});
});
//Edit this test to not pass spoiler state once spoiler is decoupled from marking media as sensitive
it('should handle COMPOSE_SENSITIVITY_CHANGE on Mark Sensitive click, toggle if spoiler inactive', () => {
const state = ImmutableMap({ spoiler: false, sensitive: true });
const action = {