feat: remove Learning module

This commit is contained in:
inman
2026-09-04 12:01:42 +08:00
parent bdc290c2cf
commit bd0873f348
39 changed files with 104 additions and 2278 deletions

View File

@@ -29,4 +29,19 @@ describe('Host API transport selection', () => {
expect(data).toMatchObject({ status: 200, ok: true });
expect(data.json).toMatchObject({ runtime: 'pi', diagnostics: { revision: 3 } });
});
it('leaves the retired Learning Host API unregistered', async () => {
const data = await dispatchHostApiRequest({} as never, {
path: '/api/works/learning/projects',
});
expect(data).toMatchObject({
status: 404,
ok: false,
json: {
success: false,
error: 'No route for GET /api/works/learning/projects',
},
});
});
});