mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-05 12:44:22 +00:00
- drive the protocol Select in jsdom and snapshot rendered Form.Item labels for every protocol - 10 outbound + 10 inbound protocol states captured as the regression net for protocol-core extraction - add robust select-driving helpers (test-utils) + post-test body cleanup (setup.components) - 341 tests pass; typecheck/lint green
141 lines
2.2 KiB
Text
141 lines
2.2 KiB
Text
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
|
|
exports[`InboundFormModal > field structure is stable for every protocol > http 1`] = `
|
|
[
|
|
"Enabled",
|
|
"Remark",
|
|
"Protocol",
|
|
"Address",
|
|
"Port",
|
|
"Total Flow",
|
|
"Traffic Reset",
|
|
"Duration",
|
|
"Enabled",
|
|
]
|
|
`;
|
|
|
|
exports[`InboundFormModal > field structure is stable for every protocol > hysteria 1`] = `
|
|
[
|
|
"Enabled",
|
|
"Remark",
|
|
"Protocol",
|
|
"Address",
|
|
"Port",
|
|
"Total Flow",
|
|
"Traffic Reset",
|
|
"Duration",
|
|
"Enabled",
|
|
]
|
|
`;
|
|
|
|
exports[`InboundFormModal > field structure is stable for every protocol > mixed 1`] = `
|
|
[
|
|
"Enabled",
|
|
"Remark",
|
|
"Protocol",
|
|
"Address",
|
|
"Port",
|
|
"Total Flow",
|
|
"Traffic Reset",
|
|
"Duration",
|
|
"Enabled",
|
|
]
|
|
`;
|
|
|
|
exports[`InboundFormModal > field structure is stable for every protocol > shadowsocks 1`] = `
|
|
[
|
|
"Enabled",
|
|
"Remark",
|
|
"Protocol",
|
|
"Address",
|
|
"Port",
|
|
"Total Flow",
|
|
"Traffic Reset",
|
|
"Duration",
|
|
"Enabled",
|
|
]
|
|
`;
|
|
|
|
exports[`InboundFormModal > field structure is stable for every protocol > trojan 1`] = `
|
|
[
|
|
"Enabled",
|
|
"Remark",
|
|
"Protocol",
|
|
"Address",
|
|
"Port",
|
|
"Total Flow",
|
|
"Traffic Reset",
|
|
"Duration",
|
|
"Enabled",
|
|
]
|
|
`;
|
|
|
|
exports[`InboundFormModal > field structure is stable for every protocol > tun 1`] = `
|
|
[
|
|
"Enabled",
|
|
"Remark",
|
|
"Protocol",
|
|
"Address",
|
|
"Port",
|
|
"Total Flow",
|
|
"Traffic Reset",
|
|
"Duration",
|
|
"Enabled",
|
|
]
|
|
`;
|
|
|
|
exports[`InboundFormModal > field structure is stable for every protocol > tunnel 1`] = `
|
|
[
|
|
"Enabled",
|
|
"Remark",
|
|
"Protocol",
|
|
"Address",
|
|
"Port",
|
|
"Total Flow",
|
|
"Traffic Reset",
|
|
"Duration",
|
|
"Enabled",
|
|
]
|
|
`;
|
|
|
|
exports[`InboundFormModal > field structure is stable for every protocol > vless 1`] = `
|
|
[
|
|
"Enabled",
|
|
"Remark",
|
|
"Protocol",
|
|
"Address",
|
|
"Port",
|
|
"Total Flow",
|
|
"Traffic Reset",
|
|
"Duration",
|
|
"Enabled",
|
|
]
|
|
`;
|
|
|
|
exports[`InboundFormModal > field structure is stable for every protocol > vmess 1`] = `
|
|
[
|
|
"Enabled",
|
|
"Remark",
|
|
"Protocol",
|
|
"Address",
|
|
"Port",
|
|
"Total Flow",
|
|
"Traffic Reset",
|
|
"Duration",
|
|
"Enabled",
|
|
]
|
|
`;
|
|
|
|
exports[`InboundFormModal > field structure is stable for every protocol > wireguard 1`] = `
|
|
[
|
|
"Enabled",
|
|
"Remark",
|
|
"Protocol",
|
|
"Address",
|
|
"Port",
|
|
"Total Flow",
|
|
"Traffic Reset",
|
|
"Duration",
|
|
"Enabled",
|
|
]
|
|
`;
|