Figma 설명 프레임 반영 — 로그인·온보딩·스플래시 · HOME · GALAXY · 퀘스트·이클립스·알림
This commit is contained in:
@@ -67,3 +67,13 @@ it('master 도 원장 · 지표 · 감사 기록과 서버 산출 필드는 못
|
||||
expect(doc.get('fpiScore')).toBeUndefined();
|
||||
await getFirestore().doc('fandoms/admin-write-test').delete();
|
||||
});
|
||||
|
||||
// 퀘스트 목록 *퀘스트 생성 최신순*(Figma `518:88395`) — 처음 쓴 문서만 생성 시각을 받고, 수정은 그대로 둔다.
|
||||
it('처음 쓰는 문서에는 createdAt 을 찍고 다시 써도 바꾸지 않는다', async () => {
|
||||
const ref = getFirestore().doc('notices/admin-write-test');
|
||||
await run('ops', ref.path, { title: '첫' });
|
||||
const first = (await ref.get()).get('createdAt');
|
||||
expect(first).toBeDefined();
|
||||
await run('ops', ref.path, { title: '둘' });
|
||||
expect((await ref.get()).get('createdAt').isEqual(first)).toBe(true);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user