Skip to content

Commit 9b55a88

Browse files
committed
test(souls): call agent.learning.forgetUser through its optional member
Signed-off-by: jddunn <[email protected]>
1 parent e4b4f86 commit 9b55a88

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/api/__tests__/soul-identity.gmi.e2e.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ describe('learners filed under the slug of the agent name before the soul had an
378378
await after.session('s3', { userId: 'ana' }).send('And again.');
379379
expect(events('soul.id_fallback')).toEqual([expect.objectContaining({ reason: 'old_slug_learner' })]);
380380
expect(await keysOf(store, 'ana')).toEqual(new Set(['aria']));
381-
await after.learning!.forgetUser('ana');
381+
await after.learning!.forgetUser!('ana');
382382
expect(await store.sessionRowsOf('', 'ana')).toEqual([]);
383383
await after.close();
384384
});

0 commit comments

Comments
 (0)