Skip to content

Commit

Permalink
318 Corrects description of testcases
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardovdheijden committed Oct 13, 2023
1 parent 02ee961 commit 0e061f0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ describe('getStepContent()', () => {
confirmation_mail: 'testConfirmationMail',
};

it('returns the same object as the input if showHiddenKeys is false', () => {
it('returns the same object as the input if showHiddenKeys is true', () => {
const result = getStepContent(testStepState, true);

expect(result).toEqual(testStepState);
});
it('returns an object without hidden keys if showHiddenKeys is true', () => {
it('returns an object without hidden keys if showHiddenKeys is false', () => {
const result = getStepContent(testStepState, false);

expect(Object.keys(result).length).toEqual(2);
Expand Down

0 comments on commit 0e061f0

Please sign in to comment.