끝난 이클립스 합류 문구 · HOME 헤더 POP · 다국어 HOME 레이아웃 · 캠페인 표시 수정

This commit is contained in:
Sn-Kinos
2026-10-08 19:00:24 +09:00
parent a74edaef6b
commit 40b2c0e6f6
40 changed files with 1649 additions and 845 deletions
+29
View File
@@ -134,6 +134,35 @@ void main() {
final l = line(eclipse: eclipseFixture(startAt: start), hero: true)!;
expect(l.hero, isFalse);
});
test('끝난 회차의 방어 합류는 띠에 남지 않는다 (r11 2-5)', () {
expect(line(events: [join])!.text, 'fallback', reason: '진행 중 회차 없음');
expect(
line(
eclipse: eclipseFixture(
startAt: start,
defense: 1,
result: EclipseResult.failure,
),
events: [join],
)!.text,
'fallback',
reason: '판정 끝난 회차',
);
expect(
line(
eclipse: eclipseFixture(startAt: DateTime.now(), defense: 1),
events: [
LiveEvent(
id: 'old',
nickname: '팬',
at: DateTime.now().subtract(const Duration(minutes: 40)),
),
],
)!.text,
'BTS 행성에 이클립스가 발생했어요!',
reason: '지난 회차의 합류',
);
});
test('아무것도 없으면 폴백', () {
expect(line()!.text, 'fallback');
});