feat: 后端也添加了写了一半的人机验证模块

This commit is contained in:
2025-12-17 20:31:23 +08:00
parent c9e49bb769
commit 54acad1671
9 changed files with 106 additions and 2 deletions

View File

@@ -0,0 +1,18 @@
import { Test, TestingModule } from '@nestjs/testing';
import { CaptchaService } from './captcha.service';
describe('CaptchaService', () => {
let service: CaptchaService;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
providers: [CaptchaService],
}).compile();
service = module.get<CaptchaService>(CaptchaService);
});
it('should be defined', () => {
expect(service).toBeDefined();
});
});