统一 Rust 与 TypeScript 格式化门禁
纳入 AGC Cargo workspace 的统一 rustfmt 检查与格式化入口 完成项目 TypeScript/Prettier 与 Rust 全量格式化 修复 Pingora expected executable 门禁的空白敏感误报 同步开发运维文档与 AGC skill pack 格式化忽略规则
This commit is contained in:
@@ -5,12 +5,7 @@ import vm from 'node:vm';
|
||||
import { beforeEach, describe, expect, test, vi } from 'vitest';
|
||||
|
||||
const repoRoot = process.cwd();
|
||||
const shellScriptPath = join(
|
||||
repoRoot,
|
||||
'miniprogram',
|
||||
'shell',
|
||||
'webView.js',
|
||||
);
|
||||
const shellScriptPath = join(repoRoot, 'miniprogram', 'shell', 'webView.js');
|
||||
const webViewHostBridgePath = join(
|
||||
repoRoot,
|
||||
'miniprogram',
|
||||
@@ -354,7 +349,9 @@ describe('mini-program web-view auth page', () => {
|
||||
'[web-view] mini program bind phone failed',
|
||||
);
|
||||
expect(console.error).toHaveBeenCalledWith('[web-view] bind phone failed');
|
||||
expect(console.error.mock.calls.flat()).not.toContain('private backend detail');
|
||||
expect(console.error.mock.calls.flat()).not.toContain(
|
||||
'private backend detail',
|
||||
);
|
||||
});
|
||||
|
||||
test('拒绝手机号授权不向页面透出微信原生错误', async () => {
|
||||
|
||||
Reference in New Issue
Block a user