Conversation
ENG-1303 0.1: Move fixture files to shared test-data directory
ENG-1304 0.2: Update TypeScript test references
Update fixture path in const fixtureDir = new URL('./data/test-keys/', import.meta.url);to: const fixtureDir = new URL('../../test-data/test-keys/', import.meta.url);Verify TypeScript tests still pass: |
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Greptile OverviewGreptile SummaryThis PR relocates pq-key-encoder key fixtures from The change keeps fixture contents the same (git detects renames) and the tests continue to validate that Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
autonumber
participant T as bun:test runner
participant S as test-keys.test.ts
participant FS as node:fs
participant F as test-data fixtures
participant L as pq-key-encoder (fromDER/fromPEM)
participant O as pq-oid Algorithm
T->>S: execute test suite
loop each {alg,prefix} case
S->>O: Algorithm.get(alg)
S->>FS: readFileSync(URL(prefix_pub.der))
FS->>F: read bytes
S->>L: fromDER(bytes)
L-->>S: {alg,type,bytes}
S->>FS: readFileSync(URL(prefix_priv.der))
FS->>F: read bytes
S->>L: fromDER(bytes)
L-->>S: {alg,type,bytes}
S->>FS: readFileSync(URL(prefix_pub.pem), 'utf8')
FS->>F: read string
S->>L: fromPEM(pem)
L-->>S: {alg,type,bytes}
S->>FS: readFileSync(URL(prefix_priv.pem), 'utf8')
FS->>F: read string
S->>L: fromPEM(pem)
L-->>S: {alg,type,bytes}
end
T-->>T: assertions pass
|
|
@codex review |
|
Codex Review: Didn't find any major issues. Keep it up! ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |

No description provided.