Refactor VPN proxy client implementation
This commit is contained in:
@@ -31,7 +31,8 @@ test('gateway keeps direct forwarding active while TProxy interception is switch
|
||||
|
||||
test('control bypasses host routing while dataplane owns it', () => {
|
||||
assert.match(entrypoint, /APP_COMPONENT.*control/);
|
||||
assert.match(entrypoint, /exec node \/app\/src\/server\/index\.js/);
|
||||
assert.match(entrypoint, /APP_COMPONENT.*dataplane/);
|
||||
assert.match(entrypoint, /node \/app\/src\/server\/dataplane\.js/);
|
||||
assert.match(entrypoint, /exec node \/app\/dist\/server\/main\.js/);
|
||||
assert.match(entrypoint, /fi[\s\S]*setup_gateway_forwarding[\s\S]*node \/app\/dist\/server\/main\.js/);
|
||||
assert.match(entrypoint, /node \/app\/dist\/server\/main\.js/);
|
||||
assert.doesNotMatch(entrypoint, /\/app\/src/);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user