Skip to content

test: テストスイート整備(特に zip.ts の conversations.json 分解) #8

Description

@mikana0918

概要

`bun test` スクリプトは定義済だがテストファイル0件。回帰防止が効いていない。

動機

  • `src/sources/zip.ts` の conversations.json → per-conversation jsonl 分解ロジックは複雑度高、回帰リスク大。
  • `config.ts` の TOML パース後の型検証、`archive.ts` のミラー処理も対象。

やること

  • テストランナー設定確認(`bun test`)
  • fixture: 最小限の claude.ai export ZIP / 偽 jsonl
  • `zip.ts` の snapshot テスト
  • `config.ts` のバリデーションテスト
  • CI(.github/workflows/ci.yml)にテスト実行追加

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions