|
1 | 1 | // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
2 | 2 |
|
| 3 | +exports[`block-component > component-attributes 1`] = ` |
| 4 | +{ |
| 5 | + "children": [ |
| 6 | + { |
| 7 | + "attributes": { |
| 8 | + "key": "value", |
| 9 | + }, |
| 10 | + "children": [], |
| 11 | + "data": { |
| 12 | + "hName": "component", |
| 13 | + "hProperties": { |
| 14 | + "key": "value", |
| 15 | + }, |
| 16 | + }, |
| 17 | + "fmAttributes": {}, |
| 18 | + "name": "component", |
| 19 | + "position": { |
| 20 | + "end": { |
| 21 | + "column": 3, |
| 22 | + "line": 2, |
| 23 | + "offset": 27, |
| 24 | + }, |
| 25 | + "start": { |
| 26 | + "column": 1, |
| 27 | + "line": 1, |
| 28 | + "offset": 0, |
| 29 | + }, |
| 30 | + }, |
| 31 | + "type": "containerComponent", |
| 32 | + }, |
| 33 | + ], |
| 34 | + "position": { |
| 35 | + "end": { |
| 36 | + "column": 3, |
| 37 | + "line": 2, |
| 38 | + "offset": 27, |
| 39 | + }, |
| 40 | + "start": { |
| 41 | + "column": 1, |
| 42 | + "line": 1, |
| 43 | + "offset": 0, |
| 44 | + }, |
| 45 | + }, |
| 46 | + "type": "root", |
| 47 | +} |
| 48 | +`; |
| 49 | + |
3 | 50 | exports[`block-component > component-attributes-array-convert-double-quote 1`] = `
|
4 | 51 | {
|
5 | 52 | "children": [
|
@@ -235,6 +282,100 @@ exports[`block-component > component-attributes-bind-frontmatter 1`] = `
|
235 | 282 | }
|
236 | 283 | `;
|
237 | 284 |
|
| 285 | +exports[`block-component > component-attributes-length-80 1`] = ` |
| 286 | +{ |
| 287 | + "children": [ |
| 288 | + { |
| 289 | + "attributes": { |
| 290 | + "a": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", |
| 291 | + }, |
| 292 | + "children": [], |
| 293 | + "data": { |
| 294 | + "hName": "component", |
| 295 | + "hProperties": { |
| 296 | + "a": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", |
| 297 | + }, |
| 298 | + }, |
| 299 | + "fmAttributes": {}, |
| 300 | + "name": "component", |
| 301 | + "position": { |
| 302 | + "end": { |
| 303 | + "column": 3, |
| 304 | + "line": 2, |
| 305 | + "offset": 83, |
| 306 | + }, |
| 307 | + "start": { |
| 308 | + "column": 1, |
| 309 | + "line": 1, |
| 310 | + "offset": 0, |
| 311 | + }, |
| 312 | + }, |
| 313 | + "type": "containerComponent", |
| 314 | + }, |
| 315 | + ], |
| 316 | + "position": { |
| 317 | + "end": { |
| 318 | + "column": 3, |
| 319 | + "line": 2, |
| 320 | + "offset": 83, |
| 321 | + }, |
| 322 | + "start": { |
| 323 | + "column": 1, |
| 324 | + "line": 1, |
| 325 | + "offset": 0, |
| 326 | + }, |
| 327 | + }, |
| 328 | + "type": "root", |
| 329 | +} |
| 330 | +`; |
| 331 | + |
| 332 | +exports[`block-component > component-attributes-length-81 1`] = ` |
| 333 | +{ |
| 334 | + "children": [ |
| 335 | + { |
| 336 | + "attributes": { |
| 337 | + "a": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", |
| 338 | + }, |
| 339 | + "children": [], |
| 340 | + "data": { |
| 341 | + "hName": "component", |
| 342 | + "hProperties": { |
| 343 | + "a": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", |
| 344 | + }, |
| 345 | + }, |
| 346 | + "fmAttributes": {}, |
| 347 | + "name": "component", |
| 348 | + "position": { |
| 349 | + "end": { |
| 350 | + "column": 3, |
| 351 | + "line": 2, |
| 352 | + "offset": 84, |
| 353 | + }, |
| 354 | + "start": { |
| 355 | + "column": 1, |
| 356 | + "line": 1, |
| 357 | + "offset": 0, |
| 358 | + }, |
| 359 | + }, |
| 360 | + "type": "containerComponent", |
| 361 | + }, |
| 362 | + ], |
| 363 | + "position": { |
| 364 | + "end": { |
| 365 | + "column": 3, |
| 366 | + "line": 2, |
| 367 | + "offset": 84, |
| 368 | + }, |
| 369 | + "start": { |
| 370 | + "column": 1, |
| 371 | + "line": 1, |
| 372 | + "offset": 0, |
| 373 | + }, |
| 374 | + }, |
| 375 | + "type": "root", |
| 376 | +} |
| 377 | +`; |
| 378 | + |
238 | 379 | exports[`block-component > component-attributes-object 1`] = `
|
239 | 380 | {
|
240 | 381 | "children": [
|
@@ -282,6 +423,53 @@ exports[`block-component > component-attributes-object 1`] = `
|
282 | 423 | }
|
283 | 424 | `;
|
284 | 425 |
|
| 426 | +exports[`block-component > component-attributes-remove-duplicate 1`] = ` |
| 427 | +{ |
| 428 | + "children": [ |
| 429 | + { |
| 430 | + "attributes": { |
| 431 | + "key": "value", |
| 432 | + }, |
| 433 | + "children": [], |
| 434 | + "data": { |
| 435 | + "hName": "component", |
| 436 | + "hProperties": { |
| 437 | + "key": "value", |
| 438 | + }, |
| 439 | + }, |
| 440 | + "fmAttributes": {}, |
| 441 | + "name": "component", |
| 442 | + "position": { |
| 443 | + "end": { |
| 444 | + "column": 3, |
| 445 | + "line": 2, |
| 446 | + "offset": 39, |
| 447 | + }, |
| 448 | + "start": { |
| 449 | + "column": 1, |
| 450 | + "line": 1, |
| 451 | + "offset": 0, |
| 452 | + }, |
| 453 | + }, |
| 454 | + "type": "containerComponent", |
| 455 | + }, |
| 456 | + ], |
| 457 | + "position": { |
| 458 | + "end": { |
| 459 | + "column": 3, |
| 460 | + "line": 2, |
| 461 | + "offset": 39, |
| 462 | + }, |
| 463 | + "start": { |
| 464 | + "column": 1, |
| 465 | + "line": 1, |
| 466 | + "offset": 0, |
| 467 | + }, |
| 468 | + }, |
| 469 | + "type": "root", |
| 470 | +} |
| 471 | +`; |
| 472 | + |
285 | 473 | exports[`block-component > component-hProperties-be-the-same 1`] = `
|
286 | 474 | {
|
287 | 475 | "children": [
|
@@ -362,6 +550,53 @@ items:
|
362 | 550 | }
|
363 | 551 | `;
|
364 | 552 |
|
| 553 | +exports[`block-component > component-max-attributes-length-option 1`] = ` |
| 554 | +{ |
| 555 | + "children": [ |
| 556 | + { |
| 557 | + "attributes": { |
| 558 | + "a": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", |
| 559 | + }, |
| 560 | + "children": [], |
| 561 | + "data": { |
| 562 | + "hName": "component", |
| 563 | + "hProperties": { |
| 564 | + "a": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", |
| 565 | + }, |
| 566 | + }, |
| 567 | + "fmAttributes": {}, |
| 568 | + "name": "component", |
| 569 | + "position": { |
| 570 | + "end": { |
| 571 | + "column": 3, |
| 572 | + "line": 2, |
| 573 | + "offset": 103, |
| 574 | + }, |
| 575 | + "start": { |
| 576 | + "column": 1, |
| 577 | + "line": 1, |
| 578 | + "offset": 0, |
| 579 | + }, |
| 580 | + }, |
| 581 | + "type": "containerComponent", |
| 582 | + }, |
| 583 | + ], |
| 584 | + "position": { |
| 585 | + "end": { |
| 586 | + "column": 3, |
| 587 | + "line": 2, |
| 588 | + "offset": 103, |
| 589 | + }, |
| 590 | + "start": { |
| 591 | + "column": 1, |
| 592 | + "line": 1, |
| 593 | + "offset": 0, |
| 594 | + }, |
| 595 | + }, |
| 596 | + "type": "root", |
| 597 | +} |
| 598 | +`; |
| 599 | + |
365 | 600 | exports[`block-component > dangling-list 1`] = `
|
366 | 601 | {
|
367 | 602 | "children": [
|
|
0 commit comments