Updating shouldRegisterClaim tests

This commit is contained in:
Michaela Brydon 2024-04-11 16:26:33 -04:00
parent e3cb1ef37a
commit e3852f2b7b
2 changed files with 5 additions and 2 deletions

View file

@ -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

View file

@ -362,7 +362,6 @@ export default {
isQuoteDisplayed() {
return this.isITACQuoteVisible || this.isNoCompQuoteVisible;
},
// TODO can we simplify this
shouldRegisterClaim() {
const {
policy,