|
|
@@ -508,6 +508,17 @@ describe('TypertRegistry', () => {
|
|
|
...invocation(),
|
|
|
parameters: [{ name: 'agent', wire: 'agentId', source: 'lookup', codec: { mode: 'src-json' } }],
|
|
|
}, 'has no lookup key'],
|
|
|
+ [{
|
|
|
+ ...invocation(),
|
|
|
+ parameters: [{
|
|
|
+ name: 'agent',
|
|
|
+ wire: 'agentId',
|
|
|
+ source: 'lookup',
|
|
|
+ lookup: 'fixture',
|
|
|
+ acceptsUndefined: true,
|
|
|
+ codec: { mode: 'src-json' },
|
|
|
+ }],
|
|
|
+ }, 'cannot accept undefined'],
|
|
|
[{
|
|
|
...invocation(),
|
|
|
parameters: [{
|