阶段十:完成注释门禁最终验收
This commit is contained in:
1 parent
d1a165f897
commit
f30a1f68f8
29 files changed
+509
-7253
No files matched your search
@@ -3,7 +3,7 @@ import type { UserConfig } from 'vite';
|
||||
import config from './vite.config';
|
||||
|
||||
test('development server proxies versioned API and health checks', () => {
|
||||
const proxy = (config as UserConfig).server?.proxy;
|
||||
const proxy = (config as UserConfig).server?.proxy; /* proxy 表示proxy。 */
|
||||
expect(proxy).toBeDefined();
|
||||
expect(proxy).toHaveProperty('/api');
|
||||
expect(proxy).toHaveProperty('/health');
|
||||
@@ -15,4 +15,4 @@ test('development server proxies versioned API and health checks', () => {
|
||||
expect(proxy).not.toHaveProperty('/qr-login');
|
||||
expect(proxy).not.toHaveProperty('/items');
|
||||
expect(proxy).not.toHaveProperty('/cookies');
|
||||
});
|
||||
} /* 回调函数负责当前业务流程。 */);
|
||||
Reference in new issue
Block a user