Metadata
- Source
- SJRK-137
- Type
- Task
- Priority
- Blocker
- Status
- Open
- Resolution
- N/A
- Assignee
- N/A
- Reporter
- Gregor Moss
- Created
2018-06-04T17:05:42.424-0400 - Updated
2018-11-28T12:12:56.712-0500 - Versions
- N/A
- Fixed Versions
- N/A
- Component
-
- Storytelling Tool UI
Description
There are tests for the templateManager component's resolveTerms function and renderTemplate invoker (and its associated function, sjrk.storyTelling.templateManager.renderTemplate), but there are not tests to make sure that the terms as passed into the renderTemplate function are resolved correctly against the combinedDynamicValues object.
E.g. if the call to resolveTerms is altered to pass in `undefined` instead of combinedDynamicValues, the tests pass, but the substitution is not actually happening.