NatLibFi/marc-record-js

View on GitHub
test-fixtures/index/equivalence/02/metadata.json

Summary

Maintainability
Test Coverage
{
  "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
}