Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

334 B
Raw Blame
import { sandboxTest } from './setup'

sandboxTest('open with default app', async ({ sandbox }) => {
  // TODO: Implement

  // Create a new text file
  const filePath = '/home/user/testfile.txt'
  await sandbox.commands.run(`echo "This is a test file." > ${filePath}`)

  // Open with a default app
  await sandbox.open(filePath)
})