fix log outputs
This commit is contained in:
parent
8105bef1af
commit
02253f9a8d
@ -3,7 +3,7 @@ import commonjs from 'rollup-plugin-commonjs'
|
|||||||
import multiEntry from 'rollup-plugin-multi-entry'
|
import multiEntry from 'rollup-plugin-multi-entry'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
input: 'test/y-xml.tests.js',
|
input: 'test/*.tests.js',
|
||||||
name: 'y-tests',
|
name: 'y-tests',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
output: {
|
output: {
|
||||||
|
@ -280,7 +280,6 @@ test('deep element insert', async function xml16 (t) {
|
|||||||
deepElement.append(boldElement)
|
deepElement.append(boldElement)
|
||||||
deepElement.append(attrElement)
|
deepElement.append(attrElement)
|
||||||
dom0.append(deepElement)
|
dom0.append(deepElement)
|
||||||
console.log(dom0.outerHTML)
|
|
||||||
let str0 = dom0.outerHTML
|
let str0 = dom0.outerHTML
|
||||||
await flushAll(t, users)
|
await flushAll(t, users)
|
||||||
let str1 = dom1.outerHTML
|
let str1 = dom1.outerHTML
|
||||||
@ -340,7 +339,6 @@ test('Filtering remote changes', async function xmlFilteringRemote (t) {
|
|||||||
// check dom
|
// check dom
|
||||||
paragraph.getDom().setAttribute('malicious', 'true')
|
paragraph.getDom().setAttribute('malicious', 'true')
|
||||||
span.getDom().setAttribute('malicious', 'true')
|
span.getDom().setAttribute('malicious', 'true')
|
||||||
console.log(xml0.toString())
|
|
||||||
// check incoming attributes
|
// check incoming attributes
|
||||||
xml1.get(0).get(0).setAttribute('malicious', 'true')
|
xml1.get(0).get(0).setAttribute('malicious', 'true')
|
||||||
xml1.insert(0, [new Y.XmlElement('hideMe')])
|
xml1.insert(0, [new Y.XmlElement('hideMe')])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user