Skip to content

Commit

Permalink
Uncomment "FIXME" Google Docs nested uls test (#678)
Browse files Browse the repository at this point in the history
no issue
- fixed via recent updates to the section parser
  • Loading branch information
kevinansfield committed May 3, 2019
1 parent 2104893 commit 358cd9d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/unit/parsers/dom-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -379,8 +379,7 @@ test('nested html doesn\'t create unneccessary whitespace', (assert) => {
assert.equal(post.sections.objectAt(1).text, 'Two');
});

/*
* FIXME: Google docs nests uls like this
// Google docs nests uls like this
test('lis in nested uls are flattened (when ul is child of ul)', (assert) => {
let element= buildDOM(`
<ul>
Expand All @@ -397,4 +396,4 @@ test('lis in nested uls are flattened (when ul is child of ul)', (assert) => {
assert.equal(section.items.objectAt(0).text, 'outer');
assert.equal(section.items.objectAt(1).text, 'inner');
});
*/

0 comments on commit 358cd9d

Please sign in to comment.