Page 1 of 1

Write a test coverage for the below code in angular Angular. getDuplicateErrorObj() { return { code: 'DUPLICATE_ERROR',

Posted: Mon Jun 06, 2022 1:08 pm
by answerhappygod
Write a test coverage for the below code in angular Angular.
getDuplicateErrorObj() {
return {
code: 'DUPLICATE_ERROR',
message: Card.DEFAULTERORMESSAGE.duplicatecardMsg
}
};
}