test: migrated test imports to package subpath exports

- Replaced relative `../src` imports with `@oh-my-pi/pi-ai` and `@oh-my-pi/pi-agent-core` subpaths.
This commit is contained in:
can1357
2026-06-08 18:53:15 +02:00
parent e79415e78b
commit 9d457f73d9
458 changed files with 1531 additions and 1181 deletions
@@ -1,8 +1,8 @@
import { afterEach, describe, expect, it, vi } from "bun:test";
import CommitCommand from "@oh-my-pi/pi-coding-agent/commands/commit";
import * as commitModule from "@oh-my-pi/pi-coding-agent/commit";
import * as themeModule from "@oh-my-pi/pi-coding-agent/modes/theme/theme";
import { postmortem } from "@oh-my-pi/pi-utils";
import CommitCommand from "../src/commands/commit";
import * as commitModule from "../src/commit";
import * as themeModule from "../src/modes/theme/theme";
describe("omp commit command lifecycle (issue #1041)", () => {
afterEach(() => {