• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

microsoft / teams-ai / 7413044364
80%

Build:
DEFAULT BRANCH: main
Ran 04 Jan 2024 05:55PM UTC
Jobs 2
Files 205
Run time 18s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Jan 2024 05:54PM UTC coverage: 62.906% (+3.1%) from 59.848%
7413044364

push

github

web-flow
[C#] feat: add unit tests for Teams SSO auth related classes (#1112)

## Linked issues

closes: #1053 #1110

## Details

1. Create an adapter for MSAL library to make the classes testable with
mock
2. Update existing class implementation to use the MSAL library adapter
3. Do not check token cache in TeamsSsoPrompt because the Authentication
handler already checks token cache before invoking the prompt
4. Add unit tests

## Attestation Checklist

- [x] My code follows the style guidelines of this project

- I have checked for/fixed spelling, linting, and other errors
- I have commented my code for clarity
- I have made corresponding changes to the documentation (we use
[TypeDoc](https://typedoc.org/) to document our code)
- My changes generate no new warnings
- I have added tests that validates my changes, and provides sufficient
test coverage. I have tested with:
  - Local testing
  - E2E testing in Teams
- New and existing unit tests pass locally with my changes

---------

Co-authored-by: Alex Acebo <aacebowork@gmail.com>

2053 of 3746 branches covered (0.0%)

Branch coverage included in aggregate %.

5078 of 7590 relevant lines covered (66.9%)

21.28 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
1 javascript 7413044364.1 04 Jan 2024 05:55PM UTC 67
59.22
GitHub Action Run
2 dotnet 7413044364.2 04 Jan 2024 05:58PM UTC 138
65.37
GitHub Action Run
Source Files on build 7413044364
  • Tree
  • List 205
  • Changed 22
  • Source Changed 5
  • Coverage Changed 27
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #7413044364
  • be8825ac on github
  • Prev Build on main (#7402507392)
  • Next Build on main (#7426071524)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc