wallet-core/node_modules/htmlparser2/test/Events/01-simple.json

44 lines
588 B
JSON
Raw Normal View History

2017-05-03 15:35:00 +02:00
{
"name": "simple",
"options": {
"handler": {},
"parser": {}
},
"html": "<h1 class=test>adsf</h1>",
"expected": [
{
"event": "opentagname",
"data": [
"h1"
]
},
{
"event": "attribute",
"data": [
"class",
"test"
]
},
{
"event": "opentag",
"data": [
"h1",
{
"class": "test"
}
]
},
{
"event": "text",
"data": [
"adsf"
]
},
{
"event": "closetag",
"data": [
"h1"
]
}
]
}