facebookarchive/draft-js

Test for indenting list item more than one level

Open

#1.674 aberto em 2 de mar. de 2018

Ver no GitHub
 (3 comments) (0 reactions) (0 assignees)JavaScript (2.646 forks)batch import
good first issuehelp wantedtest coverage

Métricas do repositório

Stars
 (22.554 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

After we merge https://github.com/facebook/draft-js/pull/762 then Draft should support indentation of a list more than one item deep.

To make sure we don't regress this support in the future, let's add a test.

I would add a test in the suite of unit tests for RichEditorUtil, here -> https://github.com/facebook/draft-js/blob/master/src/model/modifier/__tests__/RichTextEditorUtil-test.js

We don't seem to have any test for 'onTab' so let's add one.

testing_i_love_testing

Guia do colaborador