Update compose CW tests
This commit is contained in:
parent
2aca716cfa
commit
665a27d4c9
1 changed files with 0 additions and 2 deletions
|
@ -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', () => {
|
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 state = ImmutableMap({ spoiler: true, sensitive: true, idempotencyKey: null });
|
||||||
const action = {
|
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', () => {
|
it('should handle COMPOSE_SENSITIVITY_CHANGE on Mark Sensitive click, toggle if spoiler inactive', () => {
|
||||||
const state = ImmutableMap({ spoiler: false, sensitive: true });
|
const state = ImmutableMap({ spoiler: false, sensitive: true });
|
||||||
const action = {
|
const action = {
|
||||||
|
|
Loading…
Reference in a new issue