fix(tests): Normalize route configurations in tests to use name (remove id) and standardize route names

This commit is contained in:
2025-12-09 21:39:49 +00:00
parent 788fdd79c5
commit 05c5635a13
9 changed files with 25 additions and 24 deletions

View File

@@ -10,6 +10,7 @@ tap.test('setup two smartproxies in a chain configuration', async () => {
innerProxy = new SmartProxy({
routes: [
{
name: 'inner-backend',
match: {
ports: 8002
},
@@ -39,6 +40,7 @@ tap.test('setup two smartproxies in a chain configuration', async () => {
outerProxy = new SmartProxy({
routes: [
{
name: 'outer-frontend',
match: {
ports: 8001
},