Skip to content

Commit 1e16185

Browse files
authored
Increase timeouts of webview tests (#4368)
1 parent 4aaa380 commit 1e16185

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

extension/src/test/suite/plots/index.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ suite('Plots Test Suite', () => {
519519
undefined,
520520
undefined
521521
)
522-
})
522+
}).timeout(WEBVIEW_TEST_TIMEOUT)
523523

524524
it('should handle an export plot data as csv message from the webview', async () => {
525525
const { plots } = await buildPlots({
@@ -564,7 +564,7 @@ suite('Plots Test Suite', () => {
564564
undefined,
565565
undefined
566566
)
567-
})
567+
}).timeout(WEBVIEW_TEST_TIMEOUT)
568568

569569
it('should handle an export plot data as tsv message from the webview', async () => {
570570
const { plots } = await buildPlots({
@@ -609,7 +609,7 @@ suite('Plots Test Suite', () => {
609609
undefined,
610610
undefined
611611
)
612-
})
612+
}).timeout(WEBVIEW_TEST_TIMEOUT)
613613

614614
it('should handle export data messages from the webview when the file is cancelled or errors are thrown during file writing', async () => {
615615
const { plots } = await buildPlots({
@@ -663,7 +663,7 @@ suite('Plots Test Suite', () => {
663663

664664
expect(mockOpenFile).not.to.be.called
665665
expect(mockShowInformationMessage).to.be.called
666-
})
666+
}).timeout(WEBVIEW_TEST_TIMEOUT)
667667

668668
it('should handle a custom plots reordered message from the webview', async () => {
669669
const { plots, plotsModel, messageSpy } = await buildPlots({

0 commit comments

Comments
 (0)