build: unify bun quality gate
This commit is contained in:
@@ -14,11 +14,17 @@ describe('memory selection', () => {
|
||||
);
|
||||
|
||||
expect(selected).toHaveLength(2);
|
||||
expect(selected[0].content).toBe('방 메모리는 새 세션 시작 시에만 주입한다.');
|
||||
expect(selected[0].content).toBe(
|
||||
'방 메모리는 새 세션 시작 시에만 주입한다.',
|
||||
);
|
||||
expect(selected[0].memoryKind).toBe('room_norm');
|
||||
expect(selected[1].content).toBe('사용자는 수동 명령보다 자동 기억 형성을 원한다.');
|
||||
expect(selected[1].content).toBe(
|
||||
'사용자는 수동 명령보다 자동 기억 형성을 원한다.',
|
||||
);
|
||||
expect(selected[1].memoryKind).toBe('preference');
|
||||
expect(selected.every((memory) => memory.keywords.includes('room:ejclaw'))).toBe(true);
|
||||
expect(
|
||||
selected.every((memory) => memory.keywords.includes('room:ejclaw')),
|
||||
).toBe(true);
|
||||
});
|
||||
|
||||
it('returns no memories for purely operational summaries', () => {
|
||||
@@ -37,7 +43,9 @@ describe('memory selection', () => {
|
||||
);
|
||||
|
||||
expect(selected).toHaveLength(1);
|
||||
expect(selected[0].content).toBe('배포 전에 항상 테스트를 돌리는 것이 원칙이다.');
|
||||
expect(selected[0].content).toBe(
|
||||
'배포 전에 항상 테스트를 돌리는 것이 원칙이다.',
|
||||
);
|
||||
expect(selected[0].memoryKind).toBe('room_norm');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user