Skip to content

armgit / E2B

Public Imported from GitHub
0

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

331 B
Raw Blame
import { expect } from 'vitest'

import { sandboxTest, isDebug } from '../setup.js'
import { Sandbox } from '../../src'

sandboxTest.skipIf(isDebug)('get sandbox info', async ({ sandbox }) => {
  const info = await Sandbox.getInfo(sandbox.sandboxId)
  expect(info).toBeDefined()
  expect(info.sandboxId).toBe(sandbox.sandboxId)
})