Skip to content

Commit

Permalink
indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
hudajkhan committed Apr 5, 2019
1 parent 3cd0035 commit f866ef1
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions __tests__/components/editor/PropertyTemplateOutline.test.js
Expand Up @@ -183,28 +183,28 @@ describe('<PropertyTemplateOutline /> with propertyTemplate Refs', () => {
})
//Adding tests for assessing new methods added
describe('Multiple lookup configs can be retrieved and returned', () => {
const property = {
propertyTemplate : {
"mandatory": "true",
"repeatable": "true",
"type": "lookup",
"resourceTemplates": [],
"valueConstraint": {
"valueTemplateRefs": [],
"useValuesFrom": [
"urn:ld4p:qa:names:person",
"urn:ld4p:qa:subjects:person"
],
"valueDataType": {
"dataTypeURI": "http://id.loc.gov/ontologies/bibframe/Agent"
},
"defaults": []
},
"propertyURI": "http://id.loc.gov/ontologies/bibframe/contribution",
"propertyLabel": "LOC Names: locnames_ld4l_cache/person",
"remark": "http://id.loc.gov/authorities/names.html"
const property = {
propertyTemplate : {
"mandatory": "true",
"repeatable": "true",
"type": "lookup",
"resourceTemplates": [],
"valueConstraint": {
"valueTemplateRefs": [],
"useValuesFrom": [
"urn:ld4p:qa:names:person",
"urn:ld4p:qa:subjects:person"
],
"valueDataType": {
"dataTypeURI": "http://id.loc.gov/ontologies/bibframe/Agent"
},
"defaults": []
},
"propertyURI": "http://id.loc.gov/ontologies/bibframe/contribution",
"propertyLabel": "LOC Names: locnames_ld4l_cache/person",
"remark": "http://id.loc.gov/authorities/names.html"
}
}
}

const wrapper = shallow(<PropertyTemplateOutline {...property} />)
const childPropertyTemplateOutline = wrapper.find(PropertyTemplateOutline)
Expand Down

0 comments on commit f866ef1

Please sign in to comment.