
 RUN  v4.1.8 /Users/ilseoblee/workspace/linalab/lfg

 ❯ plugins/lfg/bin/lfg.test.ts (15 tests | 3 failed) 1229ms
     × package metadata exposes npm lfg package without Bun runtime 4ms
     × uses install plan as the default npx lfg command 59ms
     × unknown command lists supported command names 53ms

⎯⎯⎯⎯⎯⎯⎯ Failed Tests 3 ⎯⎯⎯⎯⎯⎯⎯

 FAIL  plugins/lfg/bin/lfg.test.ts > lfg CLI > package metadata exposes npm lfg package without Bun runtime
AssertionError: expected 'ulw' to be 'lfg' // Object.is equality

Expected: "lfg"
Received: "ulw"

 ❯ plugins/lfg/bin/lfg.test.ts:10:25
      8|   test("package metadata exposes npm lfg package without Bun runtime",…
      9|     const parsed = JSON.parse(await readFile(new URL("../package.json"…
     10|     expect(parsed.name).toBe("lfg")
       |                         ^
     11|     expect(parsed.description).toBe("Installs the lazycodex Codex adap…
     12|     expect(parsed.bin).toMatchObject({

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/3]⎯

 FAIL  plugins/lfg/bin/lfg.test.ts > lfg CLI > uses install plan as the default npx lfg command
AssertionError: expected { ok: true, product: 'lfg', …(10) } to match object { ok: true, status: 'planned', …(3) }
(44 matching properties omitted from actual)

- Expected
+ Received

  {
-   "command": "lfg",
-   "executed": false,
-   "installerCommand": "npx lazycodex-ai install",
    "ok": true,
-   "status": "planned",
  }

 ❯ plugins/lfg/bin/lfg.test.ts:71:25
     69|
     70|     expect(result.exitCode).toBe(0)
     71|     expect(result.json).toMatchObject({
       |                         ^
     72|       ok: true,
     73|       status: "planned",

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/3]⎯

 FAIL  plugins/lfg/bin/lfg.test.ts > lfg CLI > unknown command lists supported command names
AssertionError: expected { ok: false, status: 'error', …(8) } to match object { ok: false, …(3) }
(6 matching properties omitted from actual)

- Expected
+ Received

  {
    "code": "unsupported_command",
    "command": "wat",
    "ok": false,
    "supportedCommands": [
+     "ulw",
      "install",
      "status",
      "doctor",
      "config grok-byok",
      "lazycodex install",
      "lazycodex status",
      "setup install-plan",
      "setup show",
-     "ulw",
    ],
  }

 ❯ plugins/lfg/bin/lfg.test.ts:195:25
    193|     const result = await runLfg(["--json", "wat"])
    194|     expect(result.exitCode).toBe(1)
    195|     expect(result.json).toMatchObject({
       |                         ^
    196|       ok: false,
    197|       code: "unsupported_command",

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[3/3]⎯


 Test Files  1 failed (1)
      Tests  3 failed | 12 passed (15)
   Start at  17:23:22
   Duration  1.35s (transform 16ms, setup 0ms, import 23ms, tests 1.23s, environment 0ms)

