mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 06:03:34 +01:00
cc tests: enable second nestedOL test
This commit is contained in:
parent
c989a8e279
commit
5673a76b38
1 changed files with 6 additions and 4 deletions
|
@ -1,8 +1,10 @@
|
|||
const Changeset = require('../../../src/static/js/Changeset');
|
||||
'use strict';
|
||||
|
||||
/* eslint-disable max-len */
|
||||
|
||||
const contentcollector = require('../../../src/static/js/contentcollector');
|
||||
const AttributePool = require('../../../src/static/js/AttributePool');
|
||||
const cheerio = require('../../../src/node_modules/cheerio');
|
||||
const util = require('util');
|
||||
|
||||
const tests = {
|
||||
nestedLi: {
|
||||
|
@ -89,7 +91,7 @@ const tests = {
|
|||
expectedText: ['a', '*b', '*c', 'notlist', 'foo'],
|
||||
noteToSelf: 'Ensure empty P does not induce line attribute marker, wont this break the editor?',
|
||||
},
|
||||
nestedOl: {
|
||||
nestedOl2: {
|
||||
description: 'First item being an UL then subsequent being OL will fail',
|
||||
html: '<html><body><ul><li>a<ol><li>b</li><li>c</li></ol></li></ul></body></html>',
|
||||
expectedLineAttribs: ['+1', '*0*1*2*3+1+1', '*0*4*2*5+1+1'],
|
||||
|
@ -109,7 +111,7 @@ const tests = {
|
|||
};
|
||||
|
||||
describe(__filename, function () {
|
||||
for (const test in tests) {
|
||||
for (const test of Object.keys(tests)) {
|
||||
const testObj = tests[test];
|
||||
describe(test, function () {
|
||||
if (testObj.disabled) {
|
||||
|
|
Loading…
Reference in a new issue