Skip to content

Commit

Permalink
test: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
erezrokah committed Mar 9, 2022
1 parent 8a18b19 commit 7dae5ba
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/netlify-cms-core/src/__tests__/backend.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ describe('Backend', () => {
isModification: null,
status: '',
updatedOn: '',
canApprove: false,
supportsApprove: false,
},
});
expect(localForage.getItem).toHaveBeenCalledTimes(1);
Expand Down Expand Up @@ -243,6 +245,8 @@ describe('Backend', () => {
isModification: null,
status: '',
updatedOn: '',
canApprove: false,
supportsApprove: false,
},
});
expect(localForage.getItem).toHaveBeenCalledTimes(1);
Expand Down Expand Up @@ -392,6 +396,8 @@ describe('Backend', () => {
mediaFiles: [{ id: '1', draft: true }],
status: '',
updatedOn: '',
canApprove: false,
supportsApprove: false,
});
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ describe('entries', () => {
slug: '',
status: '',
updatedOn: '',
canApprove: false,
supportsApprove: false,
},
type: 'DRAFT_CREATE_EMPTY',
});
Expand Down Expand Up @@ -93,6 +95,8 @@ describe('entries', () => {
slug: '',
status: '',
updatedOn: '',
canApprove: false,
supportsApprove: false,
},
type: 'DRAFT_CREATE_EMPTY',
});
Expand Down Expand Up @@ -128,6 +132,8 @@ describe('entries', () => {
slug: '',
status: '',
updatedOn: '',
canApprove: false,
supportsApprove: false,
},
type: 'DRAFT_CREATE_EMPTY',
});
Expand Down

0 comments on commit 7dae5ba

Please sign in to comment.