Integrate the app end to end, add class outline, browser check and README

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Fable 5.2 committed 2026-11-18 10:02:55 -07:00
1 parent bdfdf581f3
commit 468cafc6db
17 files changed
+702 -16

No files matched your search

+9
View File
@@ -44,3 +44,12 @@ test('single datafield/subfield objects, several 050s, other prefixes, 082, 264'
test('garbage is no records', () => {
assert.deepEqual(parseMarcXml('<html><body>nope</body></html>'), []);
});
test('non-text records (a DVD of the book) contribute no call number', () => {
const rec = (type: string) => `<record xmlns="http://www.loc.gov/MARC21/slim"><leader>01234c${type}m a2200337 a 4500</leader>
<datafield tag="050" ind1=" " ind2="4"><subfield code="a">DVE9004.R69</subfield><subfield code="b">(viewing copy)</subfield></datafield>
<datafield tag="245" ind1="1" ind2="0"><subfield code="a">Harry Potter</subfield></datafield></record>`;
assert.deepEqual(parseMarcXml(rec('g'))[0]!.lcc, []);
assert.equal(parseMarcXml(rec('g'))[0]!.meta.title, 'Harry Potter');
assert.equal(parseMarcXml(rec('a'))[0]!.lcc.length, 1);
});