Skip to content

Commit

Permalink
Increase timeout in test
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubno committed Oct 14, 2023
1 parent bc25c72 commit 6f729a5
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions packages/js-sdk/test/templates/dataAnalysis.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,16 @@ import {DataAnalysis} from "../../src"
import {expect, test} from 'vitest'

test('test_data_analysis', async () => {
const session = await DataAnalysis.create()
const result = await session.runPython(
`
const session = await DataAnalysis.create()
const result = await session.runPython(
`
import matplotlib.pyplot as plt
plt.plot([1, 2, 3, 4])
plt.ylabel('some numbers')
plt.show()
`
)
await session.close()
console.log(result)
expect(result.artifacts.length).toEqual(1)
})
)
await session.close()
expect(result.artifacts.length).toEqual(1)
}, 10000)

0 comments on commit 6f729a5

Please sign in to comment.