@natlibfi/marc-record
Version:
MARC record implementation in JavaScript
20 lines (19 loc) • 564 B
JSON
{
"description": "Should return true when compared to cloned record",
"skip": false,
"input": {
"leader": "02848ccm a22005894i 4500",
"fields":
[
{"tag": "001", "value": "bar"},
{"tag": "502", "subfields": [{"code": "a", "value": "b"}]},
{"tag": "503", "ind1": "1", "subfields": [{"code": "a", "value": "b"}]},
{"tag": "503", "ind1": "1", "ind2": "2", "subfields": [{"code": "a", "value": "b"}]}
]
},
"operations": [
{ "name": "equalsTo", "args": {"clone": true}}
],
"returns": true,
"immutable": true
}