Commit a695afb
committed
test(core): address review feedback on #173 fix
- Add a static-only (no `api`) test asserting the placeholder is
registered as a no-cache path — guards against a regression that
makes the registration depend on `props.api`.
- Rewrite the invalidation-path test to assert via
`Template.hasResourceProperties` + `Match` so a future CDK property
rename fails loudly instead of silently skipping the assertion.
- Trim the step-5a comment to the non-obvious invariant (config.json is
mutable and must not inherit the content-hashed-asset s-maxage); the
bug forensics already live in the fix commit body.
- Drop a redundant section-divider comment inside the test file.1 parent c152936 commit a695afb
2 files changed
Lines changed: 36 additions & 33 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1508 | 1508 | | |
1509 | 1509 | | |
1510 | 1510 | | |
1511 | | - | |
1512 | 1511 | | |
1513 | 1512 | | |
1514 | 1513 | | |
| |||
1571 | 1570 | | |
1572 | 1571 | | |
1573 | 1572 | | |
| 1573 | + | |
| 1574 | + | |
| 1575 | + | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
| 1582 | + | |
| 1583 | + | |
| 1584 | + | |
| 1585 | + | |
| 1586 | + | |
| 1587 | + | |
| 1588 | + | |
| 1589 | + | |
| 1590 | + | |
| 1591 | + | |
| 1592 | + | |
| 1593 | + | |
| 1594 | + | |
1574 | 1595 | | |
1575 | 1596 | | |
1576 | 1597 | | |
| |||
1581 | 1602 | | |
1582 | 1603 | | |
1583 | 1604 | | |
1584 | | - | |
1585 | | - | |
1586 | | - | |
1587 | | - | |
1588 | | - | |
1589 | | - | |
1590 | | - | |
1591 | | - | |
1592 | | - | |
1593 | | - | |
1594 | | - | |
1595 | | - | |
1596 | | - | |
1597 | | - | |
1598 | | - | |
1599 | | - | |
1600 | | - | |
1601 | | - | |
1602 | | - | |
1603 | | - | |
1604 | | - | |
1605 | | - | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
1606 | 1614 | | |
1607 | 1615 | | |
1608 | 1616 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
501 | 501 | | |
502 | 502 | | |
503 | 503 | | |
504 | | - | |
| 504 | + | |
505 | 505 | | |
506 | | - | |
507 | | - | |
508 | | - | |
509 | | - | |
510 | | - | |
511 | | - | |
512 | | - | |
513 | | - | |
514 | | - | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
515 | 510 | | |
516 | 511 | | |
517 | 512 | | |
| |||
0 commit comments