-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Report stack metadata in assertions (#1547)
`expect(stack).at(path)` is broken because it relies on construct tree metadata to determine the logical ID for a given path, however the metadata is hard-coded to an empty object. This fixes the behavior by correctly collecting the metadata from the construct tree and recording it on the `SynthesizedStack`.
- Loading branch information
1 parent
9d7e050
commit c2d17f5
Showing
2 changed files
with
37 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters