fix(tests): Normalize route configurations in tests to use name (remove id) and standardize route names
This commit is contained in:
@@ -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
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user