fix(tests): Normalize route configurations in tests to use name (remove id) and standardize route names
This commit is contained in:
@@ -25,7 +25,7 @@ tap.test('port forwarding should not immediately close connections', async (tool
|
||||
// Create proxy with forwarding route
|
||||
proxy = new SmartProxy({
|
||||
routes: [{
|
||||
id: 'test',
|
||||
name: 'test-forward',
|
||||
match: { ports: 9999 },
|
||||
action: {
|
||||
type: 'forward',
|
||||
@@ -58,7 +58,7 @@ tap.test('TLS passthrough should work correctly', async () => {
|
||||
// Create proxy with TLS passthrough
|
||||
proxy = new SmartProxy({
|
||||
routes: [{
|
||||
id: 'tls-test',
|
||||
name: 'tls-test',
|
||||
match: { ports: 8443, domains: 'test.example.com' },
|
||||
action: {
|
||||
type: 'forward',
|
||||
|
||||
Reference in New Issue
Block a user