docs: publish business instruction 0.5.127
This commit is contained in:
@@ -170,11 +170,10 @@ test('machine routes stay synchronized with their declared Program or Agent boun
|
||||
for (const route of BUSINESS_ROUTES) {
|
||||
const directivePattern = new RegExp(route.directive.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'));
|
||||
const actionPattern = new RegExp(route.action.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'));
|
||||
assert.match(template, directivePattern, route.routeId);
|
||||
if (route.routeId === 'shared_child_order_batch_create') {
|
||||
assert.doesNotMatch(template, directivePattern, 'Program-only batch route must not be added to the Agent/operator template');
|
||||
assert.doesNotMatch(registry, actionPattern, 'Program-only batch route must not be added to the Agent adaptation registry');
|
||||
} else {
|
||||
assert.match(template, directivePattern, route.routeId);
|
||||
assert.match(registry, actionPattern, route.routeId);
|
||||
}
|
||||
assert.match(`${initialMigration}\n${batchMigration}`, new RegExp(`'${route.routeId}'`), route.routeId);
|
||||
|
||||
Reference in New Issue
Block a user