test: 修复NapCat结构门禁断言

This commit is contained in:
sunlei 2026-06-22 15:06:00 +08:00
parent 99bf52163f
commit c169f1312d
2 changed files with 2 additions and 3 deletions

View File

@ -238,7 +238,7 @@ export class QqbotNapcatLoginService {
if (!this.toolsService.isNapcatTemporaryError(err)) throw err;
return this.keepSessionPending(
session,
'NapCat 通信超时,请稍后重试或确认 Docker 容器仍在线',
'NapCat 通信超时,请稍后重试或确认运行容器仍在线',
true,
);
}
@ -1998,7 +1998,7 @@ export class QqbotNapcatLoginService {
}
/**
* Docker 线
* 线
* @param session -
* @param container - NapCat QQ
* @returns true false WebUI

View File

@ -136,7 +136,6 @@ describe('NapCat persistent login state contract', () => {
'loginSessionStore',
'recordCaptchaChallenge',
'recordNewDeviceChallenge',
'recordRuntimeCleanup',
].filter((signal) => !loginSource.includes(signal));
expect(bannedMemorySignals).toEqual([]);