-
Notifications
You must be signed in to change notification settings - Fork 934
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow access to parent schema (and unlimited ancestors!) in tes…
…t context (#556) * Allow access to parent schema in test context * Removed the fact that I reformatted this line * Remove the change in the test * Remove change in test * Hardened test cases * Much better api, solves far more than just accessing parent schema, allows access to unlimited ancestors * Updated to array API for accessing * Fix incorrect splice - the goal was to simply prepend the current schema context to the from array * Don't like this, but it's the only way I could confirm the correct context in the array. * Make `from` effectively immutable between tests * Remove test comment * Refactor test to simplify Co-authored-by: adam <adam.jenkins@smartsti.com>
- Loading branch information
1 parent
b4e5a00
commit db35920
Showing
4 changed files
with
56 additions
and
2 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
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