mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-27 10:32:58 +02:00
10 lines
288 B
JavaScript
10 lines
288 B
JavaScript
require(__dirname).test({
|
|
xml: '<root attrib>',
|
|
expect: [
|
|
['opentagstart', {name: 'ROOT', attributes: {}}],
|
|
['attribute', {name: 'ATTRIB', value: 'attrib'}],
|
|
['opentag', {name: 'ROOT', attributes: {'ATTRIB': 'attrib'}, isSelfClosing: false}]
|
|
],
|
|
opt: { trim: true }
|
|
})
|