Skip to content

Commit

Permalink
Increase timeouts of webview tests (#4368)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattseddon authored Jul 27, 2023
1 parent 4aaa380 commit 1e16185
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions extension/src/test/suite/plots/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ suite('Plots Test Suite', () => {
undefined,
undefined
)
})
}).timeout(WEBVIEW_TEST_TIMEOUT)

it('should handle an export plot data as csv message from the webview', async () => {
const { plots } = await buildPlots({
Expand Down Expand Up @@ -564,7 +564,7 @@ suite('Plots Test Suite', () => {
undefined,
undefined
)
})
}).timeout(WEBVIEW_TEST_TIMEOUT)

it('should handle an export plot data as tsv message from the webview', async () => {
const { plots } = await buildPlots({
Expand Down Expand Up @@ -609,7 +609,7 @@ suite('Plots Test Suite', () => {
undefined,
undefined
)
})
}).timeout(WEBVIEW_TEST_TIMEOUT)

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

expect(mockOpenFile).not.to.be.called
expect(mockShowInformationMessage).to.be.called
})
}).timeout(WEBVIEW_TEST_TIMEOUT)

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

0 comments on commit 1e16185

Please sign in to comment.