feat(channels): add microsoft teams bot framework adapter
This commit is contained in:
@@ -149,6 +149,16 @@ models:
|
||||
const matrix = redacted.matrix as Record<string, unknown>;
|
||||
expect(matrix.access_token).toBe('***');
|
||||
});
|
||||
|
||||
it('redacts app_password (teams)', () => {
|
||||
const config = {
|
||||
teams: { app_id: 'id', app_password: 'teams-secret' },
|
||||
models: { default: { provider: 'anthropic', model: 'claude' } },
|
||||
};
|
||||
const redacted = redactSecrets(config);
|
||||
const teams = redacted.teams as Record<string, unknown>;
|
||||
expect(teams.app_password).toBe('***');
|
||||
});
|
||||
});
|
||||
|
||||
describe('getDataDir', () => {
|
||||
|
||||
Reference in New Issue
Block a user