Update sing-box to 1.13.18
This commit is contained in:
@@ -154,3 +154,19 @@ test('production paths use only the compiled dispatcher', () => {
|
||||
assert.match(legacyBuild, /npm run build:production && docker build/);
|
||||
assert.match(dockerignore, /^dist$/m);
|
||||
});
|
||||
|
||||
test('every shipped build defaults to sing-box 1.13.18', () => {
|
||||
for (const file of [
|
||||
'.env.example',
|
||||
'.gitea/workflows/gateway-build.yml',
|
||||
'Dockerfile',
|
||||
'Dockerfile.client',
|
||||
'Dockerfile.runtime-base',
|
||||
'docker-compose.client.yml',
|
||||
'docker-compose.gateway.yml',
|
||||
'scripts/build-on-107-deploy-111.sh',
|
||||
'scripts/build-runtime-base.sh',
|
||||
]) {
|
||||
assert.match(fs.readFileSync(path.join(root, file), 'utf8'), /SINGBOX_VERSION[^\n]*1\.13\.18/);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -70,5 +70,5 @@ test('client keeps its local proxy but routes directly when Harbor Gateway is ah
|
||||
{ inbound: ['mixed-in'], outbound: 'direct' },
|
||||
]);
|
||||
assert.equal(config.route.final, 'direct');
|
||||
assert.deepEqual(config.outbounds.map((outbound) => outbound.tag), ['test-vpn', 'direct', 'block']);
|
||||
assert.deepEqual(config.outbounds.map((outbound) => outbound.tag), ['test-vpn', 'direct']);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user