I’d like to write integration tests for dynamic sync formulas but without a selection step the dynamicUrl is never set. Is there a way to set this manually for testing and still use a live execution context?
A naive approach as below throws when attempting to assign.
let ctx: SyncExecutionContext;
ctx = newRealFetcherSyncExecutionContext(pack, require.resolve('../../pack'));
ctx.sync.dynamicUrl = 'https://api.example.com/123';
I also see that there’s a testing utility to execute Metadata Formulas, but can’t quite figure out how I could run listDynamicUrls() and have the value passed to context.
Anyone else run into this scenario?