Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmytro-Melnyshyn committed Jan 17, 2025
1 parent d5a8adc commit c9b35a9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ const records = [
isSelected: true,
name: 'Title name1',
managedCoverages: [{
'beginCoverage': '2005-01-01',
'endCoverage': '2005-12-31'
beginCoverage: '2005-01-01',
endCoverage: '2005-12-31'
}],
customCoverages: [
{
'beginCoverage': '2025-01-09',
'endCoverage': '2026-01-01'
beginCoverage: '2025-01-09',
endCoverage: '2026-01-01'
},
{
'beginCoverage': '2025-01-07',
'endCoverage': '2025-01-08'
beginCoverage: '2025-01-07',
endCoverage: '2025-01-08'
},
],
managedEmbargoPeriod: {
Expand Down
7 changes: 1 addition & 6 deletions src/components/package/show/package-show.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,7 @@ const pkgSearchParams = {
searchfield: 'title',
count: 100,
page: 1,
filter: {
'access-type': undefined,
selected: undefined,
tags: undefined,
type: undefined,
}
filter: {},
};

const mockAddPackageToHoldings = jest.fn();
Expand Down
12 changes: 6 additions & 6 deletions src/routes/package-show-route/package-show-route.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,17 +250,17 @@ const resource = {
name: 'Title name 1',
isSelected: false,
managedCoverages: [{
'beginCoverage': '2005-01-01',
'endCoverage': '2005-12-31'
beginCoverage: '2005-01-01',
endCoverage: '2005-12-31'
}],
customCoverages: [
{
'beginCoverage': '2025-01-09',
'endCoverage': '2026-01-01'
beginCoverage: '2025-01-09',
endCoverage: '2026-01-01'
},
{
'beginCoverage': '2025-01-07',
'endCoverage': '2025-01-08'
beginCoverage: '2025-01-07',
endCoverage: '2025-01-08'
},
],
managedEmbargoPeriod: {
Expand Down

0 comments on commit c9b35a9

Please sign in to comment.