ESLint: fix dangling commas

This commit is contained in:
Yury Bondarenko
2023-06-27 16:23:06 +02:00
parent 725dbc3743
commit 917c36dbe7
1789 changed files with 12452 additions and 12452 deletions

View File

@@ -15,13 +15,13 @@ describe('NameFieldParser test suite', () => {
readOnly: false,
submissionScope: 'testScopeUUID',
collectionUUID: null,
typeField: 'dc_type'
typeField: 'dc_type',
};
beforeEach(() => {
field1 = {
input: {
type: 'name'
type: 'name',
},
label: 'Name',
mandatory: 'false',
@@ -30,9 +30,9 @@ describe('NameFieldParser test suite', () => {
selectableMetadata: [
{
metadata: 'name',
}
},
],
languageCodes: []
languageCodes: [],
} as FormFieldModel;
field2 = {
@@ -51,8 +51,8 @@ describe('NameFieldParser test suite', () => {
{ metadata: 'dc.identifier.isbn', label: 'ISBN' },
{ metadata: 'dc.identifier.doi', label: 'DOI' },
{ metadata: 'dc.identifier.pmid', label: 'PubMed ID' },
{ metadata: 'dc.identifier.arxiv', label: 'arXiv' }
]
{ metadata: 'dc.identifier.arxiv', label: 'arXiv' },
],
} as FormFieldModel;
field3 = {
@@ -64,9 +64,9 @@ describe('NameFieldParser test suite', () => {
selectableMetadata: [
{
metadata: 'title',
}
},
],
languageCodes: []
languageCodes: [],
} as FormFieldModel;
});