Kospi Code v2.0.31
kospi-200 · Team
~/work/market-sync
> fix the flaky snapshot tests and get CI green
● I'll look at how the snapshot fixtures are loaded, then run the failing suite.
● Read(src/sync/snapshot.ts)
⎿ Read 212 lines (ctrl+o to expand)
● Search(pattern: "loadFixture(", path: "**/*.test.ts")
⎿ Found 14 files (ctrl+o to expand)
● Bash(npm test -- snapshot)
⎿ FAIL src/sync/snapshot.test.ts
● snapshot › keeps the previous tick when unchanged
TypeError: Cannot read properties of undefined (reading 'px')
… +38 lines (ctrl+o to expand)
● Bash(cat fixtures/SMSN.json)
⎿ {"px":178384,"chg":"+3.93%"}
· Percolating… (esc to interrupt)