feat: web worker based timers #2821
Merged
GitHub Actions / Test Results
succeeded
Nov 2, 2023 in 0s
Test Results ✅
✅ junit.xml
50 tests were completed in 369s with 50 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
EventDispatcher tests | 2✅ | 987ms | ||
GraphHelpers - prepScopes | 15✅ | 3s | ||
mgt-person - tests | 2✅ | 9s | ||
mgt-spinner tests | 1✅ | 1s | ||
mgt-theme-toggle - tests | 5✅ | 351s | ||
objectEquals | 17✅ | 1s | ||
reduceScopes tests | 6✅ | 1s | ||
updateMessageContentWithImage | 2✅ | 997ms |
✅ EventDispatcher tests
EventDispatcher tests should add and remove event handlers
✅ EventDispatcher tests should add and remove event handlers
EventDispatcher tests should not throw when remove is called with an unregistered handler
✅ EventDispatcher tests should not throw when remove is called with an unregistered handler
✅ GraphHelpers - prepScopes
GraphHelpers - prepScopes should return an empty array when incremental consent is disabled
✅ GraphHelpers - prepScopes should return an empty array when incremental consent is disabled
GraphHelpers - prepScopes should return an array of AuthenticationHandlerOptions when incremental consent is enabled
✅ GraphHelpers - prepScopes should return an array of AuthenticationHandlerOptions when incremental consent is enabled
GraphHelpers - chainMiddleware should return the first middleware when only one is passed
✅ GraphHelpers - chainMiddleware should return the first middleware when only one is passed
GraphHelpers - chainMiddleware should return undefined when the middleware array is empty
✅ GraphHelpers - chainMiddleware should return undefined when the middleware array is empty
GraphHelpers - chainMiddleware should now throw when the middleware array is undefined
✅ GraphHelpers - chainMiddleware should now throw when the middleware array is undefined
GraphHelpers - validateBaseUrl should return "https://graph.microsoft.com" as a valid base url
✅ GraphHelpers - validateBaseUrl should return "https://graph.microsoft.com" as a valid base url
GraphHelpers - validateBaseUrl should return "https://graph.microsoft.us" as a valid base url
✅ GraphHelpers - validateBaseUrl should return "https://graph.microsoft.us" as a valid base url
GraphHelpers - validateBaseUrl should return "https://dod-graph.microsoft.us" as a valid base url
✅ GraphHelpers - validateBaseUrl should return "https://dod-graph.microsoft.us" as a valid base url
GraphHelpers - validateBaseUrl should return "https://graph.microsoft.de" as a valid base url
✅ GraphHelpers - validateBaseUrl should return "https://graph.microsoft.de" as a valid base url
GraphHelpers - validateBaseUrl should return "https://microsoftgraph.chinacloudapi.cn" as a valid base url
✅ GraphHelpers - validateBaseUrl should return "https://microsoftgraph.chinacloudapi.cn" as a valid base url
GraphHelpers - validateBaseUrl should return undefined for "https://graph.microsoft.net" as an invalid base url
✅ GraphHelpers - validateBaseUrl should return undefined for "https://graph.microsoft.net" as an invalid base url
GraphHelpers - validateBaseUrl should return undefined for "https://random.us" as an invalid base url
✅ GraphHelpers - validateBaseUrl should return undefined for "https://random.us" as an invalid base url
GraphHelpers - validateBaseUrl should return undefined for "https://nope.cn" as an invalid base url
✅ GraphHelpers - validateBaseUrl should return undefined for "https://nope.cn" as an invalid base url
GraphHelpers - validateBaseUrl should return undefined for when supplied a "not a url" which is not a well formed url
✅ GraphHelpers - validateBaseUrl should return undefined for when supplied a "not a url" which is not a well formed url
GraphHelpers - validateBaseUrl should return undefined for when supplied a "graph.microsoft.com" which is not a well formed url
✅ GraphHelpers - validateBaseUrl should return undefined for when supplied a "graph.microsoft.com" which is not a well formed url
✅ mgt-person - tests
mgt-person - tests should render
✅ mgt-person - tests should render
mgt-person - tests should pop up a flyout on click
✅ mgt-person - tests should pop up a flyout on click
✅ mgt-spinner tests
mgt-spinner tests should render
✅ mgt-spinner tests should render
✅ mgt-theme-toggle - tests
mgt-theme-toggle - tests should render
✅ mgt-theme-toggle - tests should render
mgt-theme-toggle - tests should emit darkmodechanged with the current 'checked' state on click
✅ mgt-theme-toggle - tests should emit darkmodechanged with the current 'checked' state on click
mgt-theme-toggle - tests should have a checked switch if mode is dark
✅ mgt-theme-toggle - tests should have a checked switch if mode is dark
mgt-theme-toggle - tests should not have a checked switch if mode is light
✅ mgt-theme-toggle - tests should not have a checked switch if mode is light
mgt-theme-toggle - tests should have a checked switch if user prefers dark mode and no mode is set
✅ mgt-theme-toggle - tests should have a checked switch if user prefers dark mode and no mode is set
✅ objectEquals
objectEquals should return true between {} and {}
✅ objectEquals should return true between {} and {}
objectEquals should return true between {"a": 1, "b": true, "c": "foo"} and {"a": 1, "b": true, "c": "foo"}
✅ objectEquals should return true between {"a": 1, "b": true, "c": "foo"} and {"a": 1, "b": true, "c": "foo"}
objectEquals should return true between {"a": [Array]} and {"a": [Array]}
✅ objectEquals should return true between {"a": [Array]} and {"a": [Array]}
✅ objectEquals should return true between {"a": [Array]} and {"a": [Array]}
objectEquals should return true between {"a": [Object]} and {"a": [Object]}
✅ objectEquals should return true between {"a": [Object]} and {"a": [Object]}
objectEquals should return true between {"a": [Circular]} and {"a": [Circular]}
✅ objectEquals should return true between {"a": [Circular]} and {"a": [Circular]}
objectEquals should return true between {"a": [Circular]} and {"a": [Object]}
✅ objectEquals should return true between {"a": [Circular]} and {"a": [Object]}
objectEquals should return true between [[Circular]] and [[Circular]]
✅ objectEquals should return true between [[Circular]] and [[Circular]]
objectEquals should return true between {"a": [Object], "b": [Array]} and {"a": [Object], "b": [Array]}
✅ objectEquals should return true between {"a": [Object], "b": [Array]} and {"a": [Object], "b": [Array]}
objectEquals should return true between {"a": 1970-01-01T00:00:00.000Z} and {"a": 1970-01-01T00:00:00.000Z}
✅ objectEquals should return true between {"a": 1970-01-01T00:00:00.000Z} and {"a": 1970-01-01T00:00:00.000Z}
objectEquals should return false between {"a": [Object]} and {"a": [Array]}
✅ objectEquals should return false between {"a": [Object]} and {"a": [Array]}
objectEquals should return false between {"a": [Array]} and {"a": [Array]}
✅ objectEquals should return false between {"a": [Array]} and {"a": [Array]}
✅ objectEquals should return false between {"a": [Array]} and {"a": [Array]}
objectEquals should return false between {"a": [Object]} and {"a": [Object]}
✅ objectEquals should return false between {"a": [Object]} and {"a": [Object]}
objectEquals should return false between {"a": 2023-11-02T01:36:27.275Z} and {"a": 2023-11-02T01:36:27.275Z}
✅ objectEquals should return false between {"a": 2023-11-02T01:36:27.275Z} and {"a": 2023-11-02T01:36:27.275Z}
objectEquals should return false between {"a": [Circular]} and [[Circular]]
✅ objectEquals should return false between {"a": [Circular]} and [[Circular]]
objectEquals should return false between {"a": [Circular]} and {"b": [Object]}
✅ objectEquals should return false between {"a": [Circular]} and {"b": [Object]}
✅ reduceScopes tests
reduceScopes tests should choose the first entry in all arrays when they match
✅ reduceScopes tests should choose the first entry in all arrays when they match
reduceScopes tests should choose chat.read and chat.read.all
✅ reduceScopes tests should choose chat.read and chat.read.all
reduceScopes tests should choose chat.write and chat.read
✅ reduceScopes tests should choose chat.write and chat.read
reduceScopes tests should pass the chat gpt test
✅ reduceScopes tests should pass the chat gpt test
reduceScopes tests will slightly over calculate for complex sets
✅ reduceScopes tests will slightly over calculate for complex sets
reduceScopes tests will provide the correct minimal permissions for chat
✅ reduceScopes tests will provide the correct minimal permissions for chat
✅ updateMessageContentWithImage
updateMessageContentWithImage should replace the image src
✅ updateMessageContentWithImage should replace the image src
updateMessageContentWithImage should inline base64 images
✅ updateMessageContentWithImage should inline base64 images
Loading