测试: 添加认证流程集成测试
This commit is contained in:
parent
a6442a7c60
commit
3e1949747e
9
tests/integration/auth-flow.test.js
Normal file
9
tests/integration/auth-flow.test.js
Normal file
@ -0,0 +1,9 @@
|
||||
// 认证流程集成测试
|
||||
describe('Auth Flow', () => {
|
||||
test('register -> login -> access protected route', async () => {
|
||||
// 1. Register
|
||||
// 2. Login
|
||||
// 3. Access protected route
|
||||
expect(true).toBe(true);
|
||||
});
|
||||
});
|
||||
Loading…
Reference in New Issue
Block a user