feat: Challenges Page and Challenge Solve Modal 1.03
This commit is contained in:
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user