import { test, expect } from "bun:test"
import path from "path"

test("bin/saeeol parses", async () => {
  const file = Bun.file(path.join(import.meta.dir, "..", "..", "bin", "saeeol"))
  const code = (await file.text()).replace(/^#![^\n]*\n/, "")
  expect(() => new Function(code)).not.toThrow()
})
