코드 주석을 이 저장소 기준으로 정리
This commit is contained in:
@@ -146,7 +146,7 @@ beforeEach(async () => {
|
||||
await wipeFandom();
|
||||
});
|
||||
|
||||
describe('발동 — 하루 정확히 2 회 (원장 B-55)', () => {
|
||||
describe('발동 — 하루 정확히 2 회 (정책 원장 B-55)', () => {
|
||||
it('DAU 누락 회차는 취소 사유를 남기고 활성화·FPI 차감 없이 종료한다', async () => {
|
||||
await seedFandom();
|
||||
await aggregateFpi();
|
||||
@@ -278,7 +278,7 @@ describe('발동 — 하루 정확히 2 회 (원장 B-55)', () => {
|
||||
});
|
||||
|
||||
it('발동 시각·침식률을 운영값으로 바꾸면 재배포 없이 따라간다', async () => {
|
||||
// 원장 B-55 검증 기준 「방어 수치가 Admin 에서 앱 재배포 없이 변경됨」.
|
||||
// 정책 원장 B-55 검증 기준 「방어 수치가 Admin 에서 앱 재배포 없이 변경됨」.
|
||||
await seedFandom({ schedule: [{ hhmm: '06:30' }], erosionPercent: 1, warnSeconds: 60 });
|
||||
await aggregateFpi();
|
||||
|
||||
@@ -318,14 +318,14 @@ describe('발동 — 하루 정확히 2 회 (원장 B-55)', () => {
|
||||
.get('status')).toBe('active');
|
||||
|
||||
await runEclipseSchedule(kst(DAY, '13:31'));
|
||||
// 검수 D3 — 마감이 지나면 `ended` 로 닫아 배너 질의에서 빠진다.
|
||||
// 마감이 지나면 `ended` 로 닫아 배너 질의에서 빠진다.
|
||||
expect((await getFirestore().doc(`fandoms/${FANDOM}/eclipseRounds/${DAY}-1`).get())
|
||||
.get('status')).toBe('ended');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
describe('일정 — 배열 길이 = 하루 회차 수 · 팬덤별 우선 (원장 C-24)', () => {
|
||||
describe('일정 — 배열 길이 = 하루 회차 수 · 팬덤별 우선 (정책 원장 C-24)', () => {
|
||||
const ids = async () => (await getFirestore().collection(`fandoms/${FANDOM}/eclipseRounds`).get())
|
||||
.docs.map((d) => [d.id, (d.get('startAt') as Timestamp).toMillis()]).sort();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user