merge: 合并最新 dev 分支(cloudflare-temp-email + iCloud)
- 解决 background.js / sidepanel.html / sidepanel.js / 测试文件共 24 处冲突 - LuckMail、Cloudflare Temp Email、iCloud 三种邮箱提供商正确共存 - step9 清理范围测试对齐 dev 分支行为(closeTabsByUrlPrefix 排除 OAuth callback URL) - LuckMail 测试补充 dev 分支新增依赖的 mock - 全部 76 个测试通过
This commit is contained in:
@@ -57,11 +57,12 @@ async function testPollFreshVerificationCodeRethrowsStop() {
|
||||
extractFunction('pollFreshVerificationCode'),
|
||||
].join('\n');
|
||||
|
||||
const api = new Function(`
|
||||
const api = new Function(`
|
||||
let stopRequested = false;
|
||||
const STOP_ERROR_MESSAGE = '流程已被用户停止。';
|
||||
const HOTMAIL_PROVIDER = 'hotmail-api';
|
||||
const LUCKMAIL_PROVIDER = 'luckmail-api';
|
||||
const CLOUDFLARE_TEMP_EMAIL_PROVIDER = 'cloudflare-temp-email';
|
||||
const VERIFICATION_POLL_MAX_ROUNDS = 5;
|
||||
const logs = [];
|
||||
let resendCalls = 0;
|
||||
@@ -123,10 +124,11 @@ async function testResolveVerificationStepRethrowsStopFromFreshRequest() {
|
||||
extractFunction('resolveVerificationStep'),
|
||||
].join('\n');
|
||||
|
||||
const api = new Function(`
|
||||
const api = new Function(`
|
||||
const STOP_ERROR_MESSAGE = '流程已被用户停止。';
|
||||
const HOTMAIL_PROVIDER = 'hotmail-api';
|
||||
const LUCKMAIL_PROVIDER = 'luckmail-api';
|
||||
const CLOUDFLARE_TEMP_EMAIL_PROVIDER = 'cloudflare-temp-email';
|
||||
const logs = [];
|
||||
let pollCalls = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user