Clear M1 milestone bugs (T-37, T-39, T-41, T-42, T-44, T-45, T-46, T-48, T-49, T-51, T-52)

This commit is contained in:
Boki 2026-11-27 16:11:57 -05:00
parent 199f7beecd
commit 9e259ca43b
18 changed files with 255 additions and 34 deletions

View file

@ -79,6 +79,15 @@ describe('parseTicker', () => {
expect(parseTicker('..TO', 'ceo')).toBeNull();
});
test('enforces listing.class_suffix VARCHAR(12) max length', () => {
expect(parseTicker('RY.ABCDEFGHIJKL', 'eod')).toEqual({
tickerRoot: 'RY',
classSuffix: 'ABCDEFGHIJKL',
});
expect(parseTicker('RY.ABCDEFGHIJKLM', 'eod')).toBeNull();
expect(parseTicker('RY.PR.ABCDEFGHIJ', 'eod')).toBeNull();
});
test('completes 100,000 resolveIsin + parseTicker calls in under 500 ms', () => {
const isinCorpus: readonly ResolveIsinInput[] = [
{ isin: 'US0378331005' },