Add analysis REST API
This commit is contained in:
1 parent
770c198ccd
commit
e1164e0b47
10 files changed
+867
-5
No files matched your search
@@ -68,7 +68,7 @@ describe('shared DTO contracts', () => {
|
||||
const request: AnalysisRequestDto = {
|
||||
gameName: 'Hide on bush',
|
||||
tagLine: 'KR1',
|
||||
platform: 'kr',
|
||||
platform: 'ph2',
|
||||
matchCount: 20,
|
||||
};
|
||||
const jobStatus: AnalysisJobStatusDto = {
|
||||
@@ -107,7 +107,7 @@ describe('shared DTO contracts', () => {
|
||||
updatedAt: '2026-07-02T00:00:00.000Z',
|
||||
};
|
||||
|
||||
expect(request.platform).toBe('kr');
|
||||
expect(request.platform).toBe('ph2');
|
||||
expect(accepted.status).toBe('queued');
|
||||
expect(jobStatus.progress.totalMatches).toBe(20);
|
||||
expect(analysis.profile.mainRole).toBe('MIDDLE');
|
||||
|
||||
Reference in new issue
Block a user