Updating shouldRegisterClaim tests
This commit is contained in:
parent
e3cb1ef37a
commit
e3852f2b7b
2 changed files with 5 additions and 2 deletions
|
|
@ -773,7 +773,10 @@ describe('coverageStatement.vue-working', () => {
|
|||
shouldRegisterClaimStoreStateItac = {
|
||||
order: {
|
||||
payment: {
|
||||
insuranceCoverage: { claimNumber: null }
|
||||
insuranceCoverage: {
|
||||
claimNumber: null,
|
||||
isVerified: true // Added
|
||||
}
|
||||
},
|
||||
policy: {
|
||||
policyLookupSuccessful: true,
|
||||
|
|
@ -862,6 +865,7 @@ describe('coverageStatement.vue-working', () => {
|
|||
// Assert
|
||||
expect(result).toBeFalsy();
|
||||
});
|
||||
test('returns false when insuranceCoverage not verified', () => {});
|
||||
describe('returns true when policy lookup success, vehicleId set to %p, claim reg req, claim not yet reg', () => {
|
||||
test('and itac', () => {
|
||||
// Arrange
|
||||
|
|
|
|||
|
|
@ -362,7 +362,6 @@ export default {
|
|||
isQuoteDisplayed() {
|
||||
return this.isITACQuoteVisible || this.isNoCompQuoteVisible;
|
||||
},
|
||||
// TODO can we simplify this
|
||||
shouldRegisterClaim() {
|
||||
const {
|
||||
policy,
|
||||
|
|
|
|||
Loading…
Reference in a new issue