Skip to content

Commit

Permalink
Fix missing import in JS test
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubno committed Aug 28, 2024
1 parent a474640 commit 08c2420
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion js/tests/data.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ import { expect } from 'vitest'
import { sandboxTest } from './setup'

sandboxTest('get data', async ({ sandbox }) => {
const execution = await sandbox.notebook.execCell('pd.DataFrame({"a": [1, 2, 3]})')
const execution = await sandbox.notebook.execCell(`
import pandas as pd
pd.DataFrame({"a": [1, 2, 3]})
`)

const result = execution.results[0]
expect(result.data).toBeDefined()
Expand Down

0 comments on commit 08c2420

Please sign in to comment.