feat: 添加既有会话刷新验证命令
This commit is contained in:
@@ -69,6 +69,17 @@ test("validateRealtimeFanout rejects profiles absent from the owning YAML", () =
|
||||
);
|
||||
});
|
||||
|
||||
test("validateExistingSessionRefresh parses an existing session without prompts", () => {
|
||||
const options = parseNodeWebProbeObserveOptions(
|
||||
["command", "--type", "validateExistingSessionRefresh", "--profile", "pure-kafka-live", "--session-id", "ses_existing"],
|
||||
"NC01", "v03", spec, "webobs-fixture", null,
|
||||
);
|
||||
assert.equal(options.commandType, "validateExistingSessionRefresh");
|
||||
assert.equal(options.commandProfile, "pure-kafka-live");
|
||||
assert.equal(options.commandSessionId, "ses_existing");
|
||||
assert.equal(options.commandText, null);
|
||||
});
|
||||
|
||||
test("validateWorkbenchKafkaDebugReplay is a YAML-enabled argument-free typed command", () => {
|
||||
const options = parseNodeWebProbeObserveOptions(
|
||||
["command", "--type", "validateWorkbenchKafkaDebugReplay"],
|
||||
|
||||
Reference in New Issue
Block a user