Skip to content

fix: test failures due to esm.sh rate limits #5511

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions __tests__/html2/activity/collapsible.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<!doctype html>
<html lang="en-US">
<head>

Check failure on line 3 in __tests__/html2/activity/collapsible.html

View workflow job for this annotation

GitHub Actions / HTML test (2/17)

Collapsible activity › activity/collapsible.html

thrown: "Exceeded timeout of 50000 ms for a test. Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test." at __tests__/html2/activity/collapsible.html:3:9 at Object.<anonymous> (__tests__/html2/activity/collapsible.html:2:7)
<title>Collapsible activity</title>
<link href="/assets/index.css" rel="stylesheet" type="text/css" />
<script type="importmap">
{
"imports": {
"react": "https://esm.sh/[email protected]",
"react-dom": "https://esm.sh/[email protected]",
"react-dom/": "https://esm.sh/[email protected]/",
"react": "/esm/[email protected]",
"react-dom": "/esm/[email protected]",
"react-dom/": "/esm/[email protected]/",
"@testduet/wait-for": "https://unpkg.com/@testduet/wait-for@main/dist/wait-for.mjs",
"@fluentui/react-components": "https://esm.sh/@fluentui/[email protected]&exports=FluentProvider,createDarkTheme,webLightTheme"
"@fluentui/react-components": "/esm/@fluentui/[email protected]&exports=FluentProvider,createDarkTheme,webLightTheme"
}
}
</script>
Expand Down
8 changes: 4 additions & 4 deletions __tests__/html2/basic/customIcons.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<script type="importmap">
{
"imports": {
"react": "https://esm.sh/[email protected]",
"react-dom": "https://esm.sh/[email protected]",
"react-dom/": "https://esm.sh/[email protected]/",
"@fluentui/react-components": "https://esm.sh/@fluentui/[email protected]&exports=FluentProvider,createDarkTheme,webLightTheme"
"react": "/esm/[email protected]",
"react-dom": "/esm/[email protected]",
"react-dom/": "/esm/[email protected]/",
"@fluentui/react-components": "/esm/@fluentui/[email protected]&exports=FluentProvider,createDarkTheme,webLightTheme"
}
}
</script>
Expand Down
8 changes: 4 additions & 4 deletions __tests__/html2/copyButton/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<script type="importmap">
{
"imports": {
"react": "https://esm.sh/[email protected]",
"react-dom": "https://esm.sh/[email protected]",
"react-dom/": "https://esm.sh/[email protected]/",
"@fluentui/react-components": "https://esm.sh/@fluentui/[email protected]&exports=FluentProvider,createDarkTheme,webLightTheme"
"react": "/esm/[email protected]",
"react-dom": "/esm/[email protected]",
"react-dom/": "/esm/[email protected]/",
"@fluentui/react-components": "/esm/@fluentui/[email protected]&exports=FluentProvider,createDarkTheme,webLightTheme"
}
}
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<script type="importmap">
{
"imports": {
"@testduet/wait-for": "https://esm.sh/@testduet/wait-for"
"@testduet/wait-for": "/esm/@testduet/wait-for"
}
}
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<script type="importmap">
{
"imports": {
"@testduet/wait-for": "https://esm.sh/@testduet/wait-for"
"@testduet/wait-for": "/esm/@testduet/wait-for"
}
}
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<script type="importmap">
{
"imports": {
"@testduet/wait-for": "https://esm.sh/@testduet/wait-for"
"@testduet/wait-for": "/esm/@testduet/wait-for"
}
}
</script>
Expand Down
2 changes: 1 addition & 1 deletion __tests__/html2/feedbackForm/behavior.selectByClick.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<script type="importmap">
{
"imports": {
"@testduet/wait-for": "https://esm.sh/@testduet/wait-for"
"@testduet/wait-for": "/esm/@testduet/wait-for"
}
}
</script>
Expand Down
2 changes: 1 addition & 1 deletion __tests__/html2/feedbackForm/feedback.form.activity.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<script type="importmap">
{
"imports": {
"@testduet/wait-for": "https://esm.sh/@testduet/wait-for"
"@testduet/wait-for": "/esm/@testduet/wait-for"
}
}
</script>
Expand Down
8 changes: 4 additions & 4 deletions __tests__/html2/feedbackForm/feedback.form.scroll.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<script type="importmap">
{
"imports": {
"react": "https://esm.sh/[email protected]",
"react-dom": "https://esm.sh/[email protected]",
"react-dom/": "https://esm.sh/[email protected]/",
"@fluentui/react-components": "https://esm.sh/@fluentui/[email protected]&exports=FluentProvider,createDarkTheme,webLightTheme"
"react": "/esm/[email protected]",
"react-dom": "/esm/[email protected]",
"react-dom/": "/esm/[email protected]/",
"@fluentui/react-components": "/esm/@fluentui/[email protected]&exports=FluentProvider,createDarkTheme,webLightTheme"
}
}
</script>
Expand Down
2 changes: 1 addition & 1 deletion __tests__/html2/feedbackStatus/behavior.escapeKey.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<script type="importmap">
{
"imports": {
"@testduet/wait-for": "https://esm.sh/@testduet/wait-for"
"@testduet/wait-for": "/esm/@testduet/wait-for"
}
}
</script>
Expand Down
2 changes: 1 addition & 1 deletion __tests__/html2/feedbackStatus/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<script type="importmap">
{
"imports": {
"@testduet/wait-for": "https://esm.sh/@testduet/wait-for"
"@testduet/wait-for": "/esm/@testduet/wait-for"
}
}
</script>
Expand Down
8 changes: 4 additions & 4 deletions __tests__/html2/fluentTheme/defaultFeedback.activity.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
<script type="importmap">
{
"imports": {
"react": "https://esm.sh/[email protected]",
"react-dom": "https://esm.sh/[email protected]",
"react-dom/": "https://esm.sh/[email protected]/",
"@fluentui/react-components": "https://esm.sh/@fluentui/[email protected]&exports=FluentProvider,createDarkTheme"
"react": "/esm/[email protected]",
"react-dom": "/esm/[email protected]",
"react-dom/": "/esm/[email protected]/",
"@fluentui/react-components": "/esm/@fluentui/[email protected]&exports=FluentProvider,createDarkTheme"
}
}
</script>
Expand Down
8 changes: 4 additions & 4 deletions __tests__/html2/fluentTheme/fallback.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
<script type="importmap">
{
"imports": {
"react": "https://esm.sh/[email protected]",
"react-dom": "https://esm.sh/[email protected]",
"react-dom/": "https://esm.sh/[email protected]/",
"@fluentui/react-components": "https://esm.sh/@fluentui/[email protected]&exports=FluentProvider,createDarkTheme,webLightTheme"
"react": "/esm/[email protected]",
"react-dom": "/esm/[email protected]",
"react-dom/": "/esm/[email protected]/",
"@fluentui/react-components": "/esm/@fluentui/[email protected]&exports=FluentProvider,createDarkTheme,webLightTheme"
}
}
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<script type="importmap">
{
"imports": {
"react": "https://esm.sh/[email protected]",
"react-dom": "https://esm.sh/[email protected]",
"react-dom/": "https://esm.sh/[email protected]/",
"@fluentui/react-components": "https://esm.sh/@fluentui/[email protected]&exports=FluentProvider,createDarkTheme,webLightTheme"
"react": "/esm/[email protected]",
"react-dom": "/esm/[email protected]",
"react-dom/": "/esm/[email protected]/",
"@fluentui/react-components": "/esm/@fluentui/[email protected]&exports=FluentProvider,createDarkTheme,webLightTheme"
}
}
</script>
Expand Down
8 changes: 4 additions & 4 deletions __tests__/html2/fluentTheme/uiState.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<script type="importmap">
{
"imports": {
"react": "https://esm.sh/[email protected]",
"react-dom": "https://esm.sh/[email protected]",
"react-dom/": "https://esm.sh/[email protected]/",
"@fluentui/react-components": "https://esm.sh/@fluentui/[email protected]&exports=FluentProvider,createDarkTheme,webLightTheme"
"react": "/esm/[email protected]",
"react-dom": "/esm/[email protected]",
"react-dom/": "/esm/[email protected]/",
"@fluentui/react-components": "/esm/@fluentui/[email protected]&exports=FluentProvider,createDarkTheme,webLightTheme"
}
}
</script>
Expand Down
2 changes: 1 addition & 1 deletion __tests__/html2/hooks/useDictateState.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{
"imports": {
"@testduet/wait-for": "https://unpkg.com/@testduet/wait-for@main/dist/wait-for.mjs",
"jest-mock": "https://esm.sh/jest-mock",
"jest-mock": "/esm/jest-mock",
"react-dictate-button/internal": "https://unpkg.com/react-dictate-button@main/dist/react-dictate-button.internal.mjs"
}
}
Expand Down
2 changes: 1 addition & 1 deletion __tests__/html2/hooks/useEmitTypingIndicator.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{
"imports": {
"@testduet/wait-for": "https://unpkg.com/@testduet/wait-for@main/dist/wait-for.mjs",
"jest-mock": "https://esm.sh/jest-mock"
"jest-mock": "/esm/jest-mock"
}
}
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{
"imports": {
"@testduet/wait-for": "https://unpkg.com/@testduet/wait-for@main/dist/wait-for.mjs",
"jest-mock": "https://esm.sh/jest-mock"
"jest-mock": "/esm/jest-mock"
}
}
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{
"imports": {
"@testduet/wait-for": "https://unpkg.com/@testduet/wait-for@main/dist/wait-for.mjs",
"jest-mock": "https://esm.sh/jest-mock"
"jest-mock": "/esm/jest-mock"
}
}
</script>
Expand Down
8 changes: 4 additions & 4 deletions __tests__/html2/linkDefinition/badge.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<script type="importmap">
{
"imports": {
"react": "https://esm.sh/[email protected]",
"react-dom": "https://esm.sh/[email protected]",
"react-dom/": "https://esm.sh/[email protected]/",
"@fluentui/react-components": "https://esm.sh/@fluentui/[email protected]&exports=FluentProvider,createDarkTheme,webLightTheme"
"react": "/esm/[email protected]",
"react-dom": "/esm/[email protected]",
"react-dom/": "/esm/[email protected]/",
"@fluentui/react-components": "/esm/@fluentui/[email protected]&exports=FluentProvider,createDarkTheme,webLightTheme"
}
}
</script>
Expand Down
8 changes: 4 additions & 4 deletions __tests__/html2/markdown/math/layout.scroll.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<script type="importmap">
{
"imports": {
"react": "https://esm.sh/[email protected]",
"react-dom": "https://esm.sh/[email protected]",
"react-dom/": "https://esm.sh/[email protected]/",
"@fluentui/react-components": "https://esm.sh/@fluentui/[email protected]&exports=FluentProvider,createDarkTheme,webLightTheme"
"react": "/esm/[email protected]",
"react-dom": "/esm/[email protected]",
"react-dom/": "/esm/[email protected]/",
"@fluentui/react-components": "/esm/@fluentui/[email protected]&exports=FluentProvider,createDarkTheme,webLightTheme"
}
}
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<script type="importmap">
{
"imports": {
"@testduet/wait-for": "https://esm.sh/@testduet/wait-for",
"@testing-library/dom": "https://esm.sh/@testing-library/dom"
"@testduet/wait-for": "/esm/@testduet/wait-for",
"@testing-library/dom": "/esm/@testing-library/dom"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions __tests__/html2/sendBox/previewBeforeSend/deleteButton.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<script type="importmap">
{
"imports": {
"@testduet/wait-for": "https://esm.sh/@testduet/wait-for",
"@testing-library/dom": "https://esm.sh/@testing-library/dom"
"@testduet/wait-for": "/esm/@testduet/wait-for",
"@testing-library/dom": "/esm/@testing-library/dom"
}
}
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<script type="importmap">
{
"imports": {
"@testduet/wait-for": "https://esm.sh/@testduet/wait-for",
"@testing-library/dom": "https://esm.sh/@testing-library/dom"
"@testduet/wait-for": "/esm/@testduet/wait-for",
"@testing-library/dom": "/esm/@testing-library/dom"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions __tests__/html2/sendBox/previewBeforeSend/escapeKey.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<script type="importmap">
{
"imports": {
"@testduet/wait-for": "https://esm.sh/@testduet/wait-for",
"@testing-library/dom": "https://esm.sh/@testing-library/dom"
"@testduet/wait-for": "/esm/@testduet/wait-for",
"@testing-library/dom": "/esm/@testing-library/dom"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions __tests__/html2/sendBox/previewBeforeSend/filePreview.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<script type="importmap">
{
"imports": {
"@testduet/wait-for": "https://esm.sh/@testduet/wait-for",
"@testing-library/dom": "https://esm.sh/@testing-library/dom"
"@testduet/wait-for": "/esm/@testduet/wait-for",
"@testing-library/dom": "/esm/@testing-library/dom"
}
}
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<script type="importmap">
{
"imports": {
"@testduet/wait-for": "https://esm.sh/@testduet/wait-for",
"@testing-library/dom": "https://esm.sh/@testing-library/dom"
"@testduet/wait-for": "/esm/@testduet/wait-for",
"@testing-library/dom": "/esm/@testing-library/dom"
}
}
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<script type="importmap">
{
"imports": {
"@testduet/wait-for": "https://esm.sh/@testduet/wait-for",
"@testing-library/dom": "https://esm.sh/@testing-library/dom"
"@testduet/wait-for": "/esm/@testduet/wait-for",
"@testing-library/dom": "/esm/@testing-library/dom"
}
}
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<script type="importmap">
{
"imports": {
"@testduet/wait-for": "https://esm.sh/@testduet/wait-for",
"@testing-library/dom": "https://esm.sh/@testing-library/dom"
"@testduet/wait-for": "/esm/@testduet/wait-for",
"@testing-library/dom": "/esm/@testing-library/dom"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions __tests__/html2/sendBox/previewBeforeSend/textOnly.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<script type="importmap">
{
"imports": {
"@testduet/wait-for": "https://esm.sh/@testduet/wait-for",
"@testing-library/dom": "https://esm.sh/@testing-library/dom"
"@testduet/wait-for": "/esm/@testduet/wait-for",
"@testing-library/dom": "/esm/@testing-library/dom"
}
}
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<script type="importmap">
{
"imports": {
"@testduet/wait-for": "https://esm.sh/@testduet/wait-for",
"@testing-library/dom": "https://esm.sh/@testing-library/dom"
"@testduet/wait-for": "/esm/@testduet/wait-for",
"@testing-library/dom": "/esm/@testing-library/dom"
}
}
</script>
Expand Down
4 changes: 2 additions & 2 deletions __tests__/html2/sendBox/previewBeforeSend/threeImages.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<script type="importmap">
{
"imports": {
"@testduet/wait-for": "https://esm.sh/@testduet/wait-for",
"@testing-library/dom": "https://esm.sh/@testing-library/dom"
"@testduet/wait-for": "/esm/@testduet/wait-for",
"@testing-library/dom": "/esm/@testing-library/dom"
}
}
</script>
Expand Down
8 changes: 4 additions & 4 deletions __tests__/html2/side-by-side/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
<script type="importmap">
{
"imports": {
"react": "https://esm.sh/[email protected]",
"react-dom": "https://esm.sh/[email protected]",
"react-dom/": "https://esm.sh/[email protected]/",
"@fluentui/react-components": "https://esm.sh/@fluentui/[email protected]&exports=FluentProvider,createDarkTheme"
"react": "/esm/[email protected]",
"react-dom": "/esm/[email protected]",
"react-dom/": "/esm/[email protected]/",
"@fluentui/react-components": "/esm/@fluentui/[email protected]&exports=FluentProvider,createDarkTheme"
}
}
</script>
Expand Down
2 changes: 1 addition & 1 deletion __tests__/html2/speech/bargeIn/behavior.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{
"imports": {
"@testduet/wait-for": "https://unpkg.com/@testduet/wait-for@main/dist/wait-for.mjs",
"jest-mock": "https://esm.sh/jest-mock",
"jest-mock": "/esm/jest-mock",
"react-dictate-button/internal": "https://unpkg.com/react-dictate-button@main/dist/react-dictate-button.internal.mjs"
}
}
Expand Down
Loading
Loading