AI Implementation feature(907): Challenges Page and Challenge Solve Modal 1.03 (#49)

This commit was merged in pull request #49.
This commit is contained in:
2026-07-23 03:11:18 +00:00
parent f194641e8c
commit 54f72f88dc
15 changed files with 245 additions and 73 deletions
@@ -68,7 +68,7 @@ describe('ChallengeModal — flag submission branches', () => {
const wrong = messageForSolveError(parseSolveError(400, { code: 'FLAG_INCORRECT' }));
expect(wrong).toBe('Incorrect flag. Try again.');
const awarded = formatDdHhMm(3600);
expect(awarded).toBe('00:01:00');
expect(awarded).toBe('00:01:00:00');
});
it('second submit yields already_solved without losing the awarded banner', () => {