A thorough Unit Testing to ensure that validates the overall functioning of the solution
Spurtcommerce Development team has used appropriate frameworks to run the unit tests to verify the code readability, code reusability and code deployment velocity.
/home/picco/Documents/pre-dev/tests/unit/validations/CouponUsageProduct.test.ts
39.194s
CouponUsageProductValidations
CouponUsageProduct should succeed with all required fields
passed
0.014s
CouponUsageProductValidations
Should not validate CouponUsageProduct without valid id
passed
0.003s
CouponUsageProductValidations
Should not validate CouponUsageProduct without valid customer id
passed
0.002s
CouponUsageProductValidations
Should not validate CouponUsageProduct without valid order id
passed
0.003s
/home/picco/Documents/pre-dev/tests/unit/validations/OrderProductLogValidation.test.ts
39.238s
OrderProductLog Validations
OrderProductLog should succeed with all required fields
passed
0.01s
OrderProductLog Validations
Should not validate OrderProductLog without valid id
passed
0.003s
OrderProductLog Validations
Should not validate OrderProductLog without valid order product id
passed
0.001s
OrderProductLog Validations
Should not validate OrderProductLog without valid product id
passed
0.001s
OrderProductLog Validations
Should not validate OrderProductLog without valid order id
passed
0.001s
OrderProductLog Validations
Should not validate OrderProductLog without valid order product name
passed
0.002s
OrderProductLog Validations
Should not validate OrderProductLog without valid order product total
passed
0.001s
OrderProductLog Validations
Should not validate OrderProductLog without valid quantity
passed
0.002s
OrderProductLog Validations
Should not validate OrderProductLog without valid product price
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/ProductModelValidation.test.ts
39.288s
ProductValidations
Product should succeed with all required fields
passed
0.016s
ProductValidations
Should not validate Product without valid id
passed
0.004s
ProductValidations
Should not validate Product without valid product sku
passed
0.002s
ProductValidations
Should not validate Product without valid quantity
passed
0.002s
ProductValidations
Should not validate Product without valid stock status id
passed
0.003s
ProductValidations
Should not validate Product without valid product image
passed
0.003s
ProductValidations
Should not validate Product valid without price
passed
0.002s
ProductValidations
Should not validate Product without valid amount
passed
0.002s
ProductValidations
Should not validate Product without valid isActive
passed
0.002s
ProductValidations
Should not validate Product without valid product name
passed
0.003s
ProductValidations
Should not validate Product without valid product image
passed
0.004s
/home/picco/Documents/pre-dev/tests/unit/validations/CategoryValidation.test.ts
2s
Category Validations
Category should succeed with all required fields
passed
0.009s
Category Validations
Should not validate Category without valid id
passed
0.002s
Category Validations
Should not validate Category without valid name
passed
0.001s
Category Validations
Should not validate Category without valid sort order
passed
0.001s
/home/picco/Documents/pre-dev/tests/unit/validations/AddressValidation.test.ts
2.042s
AddressValidations
Address should succeed with all required fields
passed
0.014s
AddressValidations
Should not validate Address without valid id
passed
0.003s
AddressValidations
Should not validate Address without customer id
passed
0.002s
AddressValidations
Should not validate Address without address1
passed
0.002s
AddressValidations
Should not validate Address without city
passed
0.002s
AddressValidations
Should not validate Address without state
passed
0.002s
AddressValidations
Should not validate Address without address type
passed
0.003s
/home/picco/Documents/pre-dev/tests/unit/validations/OrderLogValidation.test.ts
2.286s
OrderLog Validations
OrderLog should succeed with all required fields
passed
0.014s
OrderLog Validations
Should not validate OrderLog without valid id
passed
0.003s
OrderLog Validations
Should not validate OrderLog without valid order log id
passed
0.003s
OrderLog Validations
Should not validate OrderLog without valid firstname
passed
0.002s
OrderLog Validations
Should not validate OrderLog without valid email
passed
0.002s
OrderLog Validations
Should not validate OrderLog without valid telephone
passed
0.001s
OrderLog Validations
Should not validate OrderLog without valid shippingAddress1
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/AccessTokenValidation.test.ts
1.895s
AccessTokenValidations
AccessToken succeed with all required fields
passed
0.009s
AccessTokenValidations
Should not validate AccessToken without valid id
passed
0.002s
AccessTokenValidations
Should not validate AccessToken without valid user id
passed
0.001s
AccessTokenValidations
Should not validate AccessToken without valid token
passed
0.001s
/home/picco/Documents/pre-dev/tests/unit/validations/CustomerValidations.test.ts
2.206s
CustomerValidations
Customer should succeed with all required fields
passed
0.012s
CustomerValidations
Should not validate Customer without valid id
passed
0.003s
CustomerValidations
Should not validate Customer without valid user name
passed
0.002s
CustomerValidations
Should not validate Customer without valid password
passed
0.001s
CustomerValidations
Should not validate Customer without valid email
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/VendorOrderProductValidation.test.ts
1.908s
VendorOrderProducts Validations
VendorOrderProducts should succeed with all required field
passed
0.014s
VendorOrderProducts Validations
Should not validate VendorOrderProducts without vendorOrderProductId
passed
0.003s
VendorOrderProducts Validations
Should not validate VendorOrderProducts without vendorOrderId
passed
0.002s
VendorOrderProducts Validations
Should not validate VendorOrderProducts without orderProductId
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/EmailTemplateValidations.test.ts
1.705s
EmailTemplate Validations
EmailTemplate should succeed with all required fields
passed
0.008s
EmailTemplate Validations
Should not validate EmailTemplate without valid id
passed
0.002s
EmailTemplate Validations
Should not validate EmailTemplate without valid subject
passed
0.002s
EmailTemplate Validations
Should not validate EmailTemplate without valid title
passed
0.001s
EmailTemplate Validations
Should not validate EmailTemplate without valid content
passed
0.001s
/home/picco/Documents/pre-dev/tests/unit/validations/ZoneValidation.test.ts
2.105s
Zone Validations
Zone should succeed with all required fields
passed
0.013s
Zone Validations
Should not validate Zone without valid id
passed
0.003s
Zone Validations
Should not validate Zone without valid country id
passed
0.002s
Zone Validations
Should not validate Zone without valid Zone name
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/ProductSpecialValidation.test.ts
1.97s
ProductSpecial Validations
ProductSpecial should succeed with all required fields
passed
0.014s
ProductSpecial Validations
Should not validate ProductSpecial without valid id
passed
0.004s
ProductSpecial Validations
Should not validate ProductSpecial without valid product id
passed
0.003s
ProductSpecial Validations
Should not validate ProductSpecial without valid price
passed
0.001s
ProductSpecial Validations
Should not validate ProductSpecial without valid skuId
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/VendorOrderLogValidation.test.ts
1.815s
VendorOrderLog Validations
VendorOrderLog should succeed with all required field
passed
0.014s
VendorOrderLog Validations
Should not validate VendorOrderLog without vendorOrderLogId
passed
0.004s
VendorOrderLog Validations
Should not validate VendorOrderLog without vendorId
passed
0.002s
VendorOrderLog Validations
Should not validate VendorOrderLog without vendorOrderId
passed
0.002s
VendorOrderLog Validations
Should not validate VendorOrderLog without orderId
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/CustomerCartValidations.test.ts
1.967s
CustomerCart Validations
CustomerCart should succeed with all required fields
passed
0.011s
CustomerCart Validations
Should not validate CustomerCart without valid id
passed
0.002s
CustomerCart Validations
Should not validate CustomerCart without valid product id
passed
0.002s
CustomerCart Validations
Should not validate CustomerCart without valid customer id
passed
0.001s
CustomerCart Validations
Should not validate CustomerCart without valid product name
passed
0.001s
/home/picco/Documents/pre-dev/tests/unit/validations/CustomerDocument.test.ts
1.952s
CustomerDocument Validations
CustomerDocument should succeed with all required fields
passed
0.013s
CustomerDocument Validations
Should not validate CustomerDocument without valid id
passed
0.003s
CustomerDocument Validations
Should not validate CustomerDocument without valid customer id
passed
0.002s
CustomerDocument Validations
Should not validate CustomerDocument without valid title
passed
0.001s
/home/picco/Documents/pre-dev/tests/unit/validations/OrderTotalValidations.test.ts
1.693s
OrderTotalValidations
Order Total should succeed with all required fields
passed
0.013s
OrderTotalValidations
Should not validate Order Total without valid id
passed
0.003s
OrderTotalValidations
Should not validate Order Total without valid order id
passed
0.002s
OrderTotalValidations
Should not validate Order Total without valid order value
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/VendorPaymentValidation.test.ts
1.597s
VendorPayment Validations
VendorPayment should succeed with all required field
passed
0.017s
VendorPayment Validations
Should not validate VendorPayment without vendorPaymentId
passed
0.004s
VendorPayment Validations
Should not validate VendorPayment without vendorId
passed
0.002s
VendorPayment Validations
Should not validate VendorPayment without order id
passed
0.002s
VendorPayment Validations
Should not validate VendorPayment without amount
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/services/UserService.test.ts
1.964s
UserService
Find should return a list of users
passed
0.007s
/home/picco/Documents/pre-dev/tests/unit/validations/VendorOrderArchiveValidation.test.ts
1.69s
VendorOrderArchive Validations
VendorOrderArchive should succeed with all required field
passed
0.013s
VendorOrderArchive Validations
Should not validate VendorOrderArchive without vendorOrderArchiveId
passed
0.003s
VendorOrderArchive Validations
Should not validate VendorOrderArchive without vendorId
passed
0.002s
VendorOrderArchive Validations
Should not validate VendorOrderArchive without orderId
passed
0.001s
VendorOrderArchive Validations
Should not validate VendorOrderArchive without order product id
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/UserValidations.test.ts
2.413s
UserValidations
UserValidations should succeed with all required field
passed
0.056s
UserValidations
Should not validate UserValidations without userGroupId
passed
0.028s
UserValidations
Should not validate UserValidations without password
passed
0.007s
UserValidations
Should not validate UserValidations without email
passed
0.014s
UserValidations
Should not validate UserValidations without email
passed
0.011s
/home/picco/Documents/pre-dev/tests/unit/validations/PromotionalBannerValidation.test.ts
2.431s
PromotionalBannerValidations
PromotionalBanner should succeed with all required field
passed
0.072s
PromotionalBannerValidations
Should not validate PromotionalBanner without valid bannerId
passed
0.006s
PromotionalBannerValidations
Should not validate PromotionalBanner without valid bannerTitle
passed
0.002s
PromotionalBannerValidations
Should not validate PromotionalBanner without valid image
passed
0.001s
PromotionalBannerValidations
Should not validate PromotionalBanner without valid expireDate
passed
0.002s
PromotionalBannerValidations
Should not validate PromotionalBanner without valid banner link type
passed
0.011s
/home/picco/Documents/pre-dev/tests/unit/validations/PaymentValidation.test.ts
4.26s
Payment Validations
Payment should succeed with all required fields
passed
0.013s
Payment Validations
Should not validate Payment without valid id
passed
0.003s
Payment Validations
Should not validate Payment without valid order id
passed
0.002s
Payment Validations
Should not validate Payment without valid amount
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/Banner.test.ts
3.686s
BannerValidations
Banner should succeed with all required fields
passed
0.014s
BannerValidations
Should not validate Banner without valid id
passed
0.003s
BannerValidations
Should not validate Banner without valid title
passed
0.002s
BannerValidations
Should not validate Banner without is active
passed
0.002s
BannerValidations
Should not validate Banner without image
passed
0.002s
BannerValidations
Should not validate Banner without image path
passed
0.001s
/home/picco/Documents/pre-dev/tests/unit/validations/OrderProductValidation.test.ts
4.413s
OrderProduct Validations
OrderProduct should succeed with all required fields
passed
0.014s
OrderProduct Validations
Should not validate OrderProduct without valid id
passed
0.003s
OrderProduct Validations
Should not validate OrderProduct without valid product id
passed
0.002s
OrderProduct Validations
Should not validate OrderProduct without valid order id
passed
0.002s
OrderProduct Validations
Should not validate OrderProduct without valid name
passed
0.001s
OrderProduct Validations
Should not validate OrderProduct without valid total
passed
0.001s
OrderProduct Validations
Should not validate OrderProduct without valid order status id
passed
0.001s
/home/picco/Documents/pre-dev/tests/unit/validations/OrderValidation.test.ts
2.076s
Order Validations
Order should succeed with all required fields
passed
0.014s
Order Validations
Should not validate Order without valid id
passed
0.003s
Order Validations
Should not validate Order without valid firstname
passed
0.015s
Order Validations
Should not validate Order without valid email
passed
0.001s
Order Validations
Should not validate Order without valid telephone
passed
0.002s
Order Validations
Should not validate Order without valid shippingaddress1
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/ProductImageValidation.test.ts
1.734s
ProductImageValidations
Product Image should succeed with all required fields
passed
0.01s
ProductImageValidations
Should not validate Product Image without valid id
passed
0.002s
ProductImageValidations
Should not validate Product Image without valid product id
passed
0.001s
/home/picco/Documents/pre-dev/tests/unit/validations/ProductDiscountValidation.test.ts
1.982s
ProductDiscountValidations
ProductDiscount should succeed with all required fields
passed
0.015s
ProductDiscountValidations
Should not validate ProductDiscount without valid id
passed
0.003s
ProductDiscountValidations
Should not validate ProductDiscount without product id
passed
0.003s
ProductDiscountValidations
Should not validate ProductDiscount without valid price
passed
0.001s
ProductDiscountValidations
Should not validate ProductDiscount without valid skuId
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/VendorInvoiceValidation.test.ts
1.837s
VendorInvoice Validations
VendorInvoice should succeed with all required field
passed
0.009s
VendorInvoice Validations
Should not validate VendorInvoice without vendorInvoiceId
passed
0.002s
VendorInvoice Validations
Should not validate VendorInvoice without orderId
passed
0.001s
VendorInvoice Validations
Should not validate VendorInvoice without vendorId
passed
0.001s
VendorInvoice Validations
Should not validate VendorInvoice without invoiceNo
passed
0.001s
VendorInvoice Validations
Should not validate VendorInvoice without email
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/PaymentItemArchiveValidation.test.ts
1.713s
PaymentItemsArchive Validations
PaymentItemsArchive should succeed with all required fields
passed
0.014s
PaymentItemsArchive Validations
Should not validate PaymentItemsArchive without valid id
passed
0.003s
PaymentItemsArchive Validations
Should not validate PaymentItemsArchive without valid order id
passed
0.002s
PaymentItemsArchive Validations
Should not validate PaymentItemsArchive without valid amount
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/PaymentItemValidation.test.ts
1.858s
PaymentItems Validations
PaymentItems should succeed with all required fields
passed
0.013s
PaymentItems Validations
Should not validate PaymentItems without valid id
passed
0.004s
PaymentItems Validations
Should not validate PaymentItems without valid order product
passed
0.002s
PaymentItems Validations
Should not validate PaymentItems without valid payment id
passed
0.002s
PaymentItems Validations
Should not validate PaymentItems without valid total amount
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/OrderStatusValidation.test.ts
2.012s
OrderStatusValidations
Order Status should succeed with all required fields
passed
0.014s
OrderStatusValidations
Should not validate Order Status without valid id
passed
0.004s
OrderStatusValidations
Should not validate Order Status without valid name
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/LanguageValidation.test.ts
1.529s
LanguageValidations
Language should succeed with all required fields
passed
0.014s
LanguageValidations
Should not validate Language without valid id
passed
0.002s
LanguageValidations
Should not validate Language without valid name
passed
0.002s
LanguageValidations
Should not validate Language without valid code
passed
0.003s
/home/picco/Documents/pre-dev/tests/unit/validations/ProductPriceLogValidation.test.ts
1.634s
ProductPriceLog Validations
ProductPriceLog should succeed with all required fields
passed
0.013s
ProductPriceLog Validations
Should not validate ProductPriceLog without valid id
passed
0.003s
ProductPriceLog Validations
Should not validate ProductPriceLog without valid product id
passed
0.002s
ProductPriceLog Validations
Should not validate ProductPriceLog without valid sku
passed
0.001s
ProductPriceLog Validations
Should not validate ProductPriceLog without valid price
passed
0.002s
ProductPriceLog Validations
Should not validate ProductPriceLog without valid vendor Id
passed
0.001s
/home/picco/Documents/pre-dev/tests/unit/validations/VendorPaymentArchiveValidation.test.ts
1.744s
VendorPaymentArchive Validations
VendorPaymentArchive should succeed with all required field
passed
0.013s
VendorPaymentArchive Validations
Should not validate VendorPaymentArchive without valid id
passed
0.002s
VendorPaymentArchive Validations
Should not validate VendorPaymentArchive without vendorId
passed
0.002s
VendorPaymentArchive Validations
Should not validate VendorPaymentArchive without vendorOrderId
passed
0.001s
VendorPaymentArchive Validations
Should not validate VendorPaymentArchive without amount
passed
0.001s
/home/picco/Documents/pre-dev/tests/unit/validations/ProductViewLogValidation.test.ts
1.891s
ProductViewLog Validations
ProductViewLog should succeed with all required field
passed
0.014s
ProductViewLog Validations
Should not validate ProductViewLog without valid id
passed
0.004s
ProductViewLog Validations
Should not validate ProductViewLog without valid productId
passed
0.002s
ProductViewLog Validations
Should not validate ProductViewLog without valid customerId
passed
0.001s
ProductViewLog Validations
Should not validate ProductViewLog without valid email
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/VendorOrderValidation.test.ts
1.886s
VendorOrders Validations
VendorOrders should succeed with all required field
passed
0.008s
VendorOrders Validations
Should not validate VendorOrder without vendorOrderId
passed
0.003s
VendorOrders Validations
Should not validate VendorOrder without vendorId
passed
0.001s
VendorOrders Validations
Should not validate VendorOrder without orderId
passed
0.002s
VendorOrders Validations
Should not validate VendorOrder without total
passed
0.001s
/home/picco/Documents/pre-dev/tests/unit/validations/PaymentArchive.test.ts
1.858s
PaymentArchive Validations
PaymentArchive should succeed with all required fields
passed
0.014s
PaymentArchive Validations
Should not validate PaymentArchive without valid id
passed
0.003s
PaymentArchive Validations
Should not validate PaymentArchive without valid order id
passed
0.002s
PaymentArchive Validations
Should not validate PaymentArchive without valid amount
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/CustomerActivity.test.ts
1.52s
CustomerActivity Validations
CustomerActivity should succeed with all required fields
passed
0.014s
CustomerActivity Validations
Should not validate CustomerActivity without valid id
passed
0.003s
CustomerActivity Validations
Should not validate CustomerActivity without valid customer id
passed
0.001s
/home/picco/Documents/pre-dev/tests/unit/validations/CustomerGroupValidation.test.ts
1.899s
CustomerGroup Validations
CustomerGroup should succeed with all required fields
passed
0.015s
CustomerGroup Validations
Should not validate CustomerGroup without valid id
passed
0.004s
CustomerGroup Validations
Should not validate CustomerGroup without valid customer group name
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/CustomerWishlist.test.ts
1.721s
CustomerWishlistValidations
CustomerWishlist should succeed with all required fields
passed
0.012s
CustomerWishlistValidations
Should not validate CustomerWishlist without valid id
passed
0.001s
CustomerWishlistValidations
Should not validate CustomerWishlist without valid customer id
passed
0.001s
CustomerWishlistValidations
Should not validate CustomerWishlist without valid product id
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/TaxValidation.test.ts
1.998s
TaxValidations
Tax always have a missing one or more field
passed
0.014s
TaxValidations
Tax id should not be empty
passed
0.002s
TaxValidations
Tax name should not be empty
passed
0.002s
TaxValidations
Tax status should not be empty
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/VendorCategoryValidation.test.ts
1.931s
VendorCategory Validations
VendorCategory should succeed with all required field
passed
0.029s
VendorCategory Validations
Should not validate VendorCategory without vendorCategoryId
passed
0.003s
VendorCategory Validations
Should not validate VendorCategory without categoryId
passed
0.002s
VendorCategory Validations
Should not validate VendorCategory without vendorId
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/PermissionModuleValidation.test.ts
1.789s
PermissionModule Validations
PermissionModule should succeed with all required fields
passed
0.011s
PermissionModule Validations
Should not validate PermissionModule without valid id
passed
0.003s
PermissionModule Validations
Should not validate PermissionModule without valid name
passed
0.002s
PermissionModule Validations
Should not validate PermissionModule without valid slugName
passed
0.001s
PermissionModule Validations
Should not validate PermissionModule without valid module group Id
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/CurrencyValidations.test.ts
1.646s
CurrencyValidations
Currency should succeed with all required fields
passed
0.014s
CurrencyValidations
Should not validate Currency without valid id
passed
0.003s
CurrencyValidations
Should not validate Currency without valid title
passed
0.002s
CurrencyValidations
Should not validate Currency without valid currency code
passed
0.007s
/home/picco/Documents/pre-dev/tests/unit/validations/VendorValidation.test.ts
2.1s
Vendor Validations
Vendor should succeed with all required field
passed
0.013s
Vendor Validations
Should not validate Vendor without valid vendorId
passed
0.002s
Vendor Validations
Should not validate Vendor without valid customerId
passed
0.001s
/home/picco/Documents/pre-dev/tests/unit/validations/UserGroupValidations.test.ts
2.547s
UserGroupValidations
UserGroup should succeed with all required field
passed
0.034s
UserGroupValidations
Should not validate UserGroup without groupId
passed
0.011s
UserGroupValidations
Should not validate UserGroup without name
passed
0.008s
UserGroupValidations
Should not validate UserGroup without slug
passed
0.001s
/home/picco/Documents/pre-dev/tests/unit/validations/PermissionModuleGroupValidation.test.ts
4.529s
PermissionModuleGroup Validations
PermissionModuleGroup should succeed with all required fields
passed
0.038s
PermissionModuleGroup Validations
Should not validate PermissionModuleGroup without valid id
passed
0.003s
PermissionModuleGroup Validations
Should not validate PermissionModuleGroup without valid name
passed
0.002s
PermissionModuleGroup Validations
Should not validate PermissionModuleGroup without valid slug name
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/CategoryPathValidation.test.ts
4.7s
CategoryPath Validations
CategoryPath should succeed with all required fields
passed
0.013s
CategoryPath Validations
Should not validate CategoryPath without valid category path id
passed
0.003s
CategoryPath Validations
Should not validate CategoryPath without valid category id
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/ActivityValidation.test.ts
3.586s
ActivityValidations
Activity should succeed with all required fields
passed
0.009s
ActivityValidations
Should not validate Activity without valid id
passed
0.001s
ActivityValidations
Should not validate Activity without valid name
passed
0.001s
/home/picco/Documents/pre-dev/tests/unit/validations/PriceUpdateFileLogValidation.test.ts
1.878s
PriceUpdateFileLog Validations
PriceUpdateFileLog should succeed with all required fields
passed
0.013s
PriceUpdateFileLog Validations
Should not validate PriceUpdateFileLog without valid id
passed
0.002s
PriceUpdateFileLog Validations
Should not validate PriceUpdateFileLog without valid vendor id
passed
0.002s
PriceUpdateFileLog Validations
Should not validate PriceUpdateFileLog without valid title
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/CouponUsage.test.ts
2.309s
CouponUsageValidations
CouponUsage should succeed with all required fields
passed
0.014s
CouponUsageValidations
Should not validate CouponUsage without valid id
passed
0.003s
CouponUsageValidations
Should not validate CouponUsage without valid coupon id
passed
0.003s
CouponUsageValidations
Should not validate CouponUsage without discount amount
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/JobValidation.test.ts
1.478s
JobValidations
Job should succeed with all required fields
passed
0.008s
JobValidations
Should not validate Job without valid id
passed
0.002s
JobValidations
Should not validate Job without valid job title
passed
0.002s
JobValidations
Should not validate Job without valid contact person
passed
0.001s
JobValidations
Should not validate Job without valid contact person email
passed
0.002s
JobValidations
Should not validate Job without valid contact person mobile number
passed
0.001s
/home/picco/Documents/pre-dev/tests/unit/validations/SettlementItemValidation.test.ts
1.611s
SettlementItem Validations
SettlementItem should succeed with all required field
passed
0.014s
SettlementItem Validations
Should not validate SettlementItem without valid id
passed
0.003s
SettlementItem Validations
Should not validate SettlementItem without valid companyName
passed
0.002s
SettlementItem Validations
Should not validate SettlementItem without valid vendorId
passed
0.002s
SettlementItem Validations
Should not validate SettlementItem without valid vendorOrderId
passed
0.002s
SettlementItem Validations
Should not validate SettlementItem without valid settlementId
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/VendorCouponProductCatValidation.test.ts
1.855s
VendorCouponProductCategory Validations
VendorCouponProductCategory should succeed with all required field
passed
0.013s
VendorCouponProductCategory Validations
Should not validate VendorCouponProductCategory without id
passed
0.003s
VendorCouponProductCategory Validations
Should not validate VendorCouponProductCategory without vendorCouponId
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/ProductTirePriceValidation.test.ts
1.936s
ProductTirePrice Validations
ProductTirePrice should succeed with all required fields
passed
0.013s
ProductTirePrice Validations
Should not validate ProductTirePrice without valid id
passed
0.004s
ProductTirePrice Validations
Should not validate ProductTirePrice without valid product id
passed
0.002s
ProductTirePrice Validations
Should not validate ProductTirePrice without valid product price
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/LoginLogValidation.test.ts
1.477s
LoginLogValidations
LoginLog should succeed with all required fields
passed
0.026s
LoginLogValidations
Should not validate LoginLog without valid id
passed
0.011s
LoginLogValidations
Should not validate LoginLog without valid email
passed
0.002s
LoginLogValidations
Should not validate LoginLog without valid customer id
passed
0.003s
/home/picco/Documents/pre-dev/tests/unit/validations/ProductToCategoryValidation.test.ts
1.875s
ProductToCategory Validations
ProductToCategory should succeed with all required fields
passed
0.009s
ProductToCategory Validations
Should not validate ProductToCategory without valid id
passed
0.001s
ProductToCategory Validations
Should not validate ProductToCategory without valid product id
passed
0.001s
/home/picco/Documents/pre-dev/tests/unit/validations/PageGroupValidation.test.ts
1.548s
Page group Validations
Page group should succeed with all required fields
passed
0.015s
Page group Validations
Should not validate Page group without valid id
passed
0.004s
Page group Validations
Should not validate Page group without valid group name
passed
0.001s
/home/picco/Documents/pre-dev/tests/unit/validations/StockLogValidation.test.ts
1.521s
StockLog Validations
StockLog should succeed with all required field
passed
0.014s
StockLog Validations
Should not validate StockLog without valid id
passed
0.002s
StockLog Validations
Should not validate StockLog without valid productId
passed
0.002s
StockLog Validations
Should not validate StockLog without valid orderId
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/VendorProductValidation.test.ts
2.052s
VendorProducts Validations
VendorProducts should succeed with all required field
passed
0.015s
VendorProducts Validations
Should not validate VendorProducts without valid vendorProductId
passed
0.003s
VendorProducts Validations
Should not validate VendorProducts without valid productId
passed
0.002s
VendorProducts Validations
Should not validate VendorProducts without valid vendorId
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/ContactValidation.test.ts
1.647s
ContactValidations
Contact should succeed with all required fields
passed
0.008s
ContactValidations
Should not validate Contact without valid id
passed
0.002s
ContactValidations
Should not validate Contact without valid name
passed
0.001s
ContactValidations
Should not validate Contact without valid email
passed
0.001s
ContactValidations
Should not validate Contact without valid message
passed
0.002s
ContactValidations
Should not validate Contact without valid phone number
passed
0.001s
/home/picco/Documents/pre-dev/tests/unit/validations/PageValidation.test.ts
1.677s
Page Validations
Page should succeed with all required fields
passed
0.03s
Page Validations
Should not validate Page without valid id
passed
0.008s
Page Validations
Should not validate Page without valid title
passed
0.002s
Page Validations
Should not validate Page without valid isActive
passed
0.003s
Page Validations
Should not validate Page without valid content
passed
0.003s
Page Validations
Should not validate Page without valid page group Id
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/ProductStockAlertValidation.test.ts
1.877s
ProductStockAlert Validations
ProductStockAlert should succeed with all required fields
passed
0.008s
ProductStockAlert Validations
Should not validate ProductStockAlert without valid id
passed
0.001s
ProductStockAlert Validations
Should not validate ProductStockAlert without valid product id
passed
0s
/home/picco/Documents/pre-dev/tests/unit/validations/PromotionalBannerItemValidation.test.ts
1.668s
PromotionalBannerItemValidations
PromotionalBannerItem should succeed with all required field
passed
0.015s
PromotionalBannerItemValidations
Should not validate PromotionalBannerItem without valid id
passed
0.003s
PromotionalBannerItemValidations
Should not validate PromotionalBannerItem without valid bannerId
passed
0.003s
PromotionalBannerItemValidations
Should not validate PromotionalBannerItem without valid refId
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/StockStatusValidation.test.ts
1.865s
StockStatus Validations
Stockstatus should succeed with all required fields
passed
0.009s
StockStatus Validations
Should not validate StockStatus without valid id
passed
0.001s
StockStatus Validations
Should not validate StockStatus without valid name
passed
0.001s
/home/picco/Documents/pre-dev/tests/unit/validations/SettlementValidation.test.ts
1.643s
Settlement Validations
Settlement should succeed with all required field
passed
0.014s
Settlement Validations
Should not validate Settlement without title
passed
0.003s
Settlement Validations
Should not validate Settlement without valid totalAmount
passed
0.003s
Settlement Validations
Should not validate Settlement without valid id
passed
0.002s
/home/picco/Documents/pre-dev/tests/unit/validations/VendorGlobalSettingsValidation.test.ts
1.685s
VendorGlobalSetting Validations
VendorGlobalSetting should succeed with all required field
passed
0.012s
VendorGlobalSetting Validations
Should not validate VendorGlobalSetting without settingId
passed
0.002s
VendorGlobalSetting Validations
Should not validate VendorGlobalSetting without defaultCommission
passed
0.001s
/home/picco/Documents/pre-dev/tests/unit/validations/OrderCancelReasonValidation.test.ts
1.416s
OrderCancelReason Validations
OrderCancelReason should succeed with all required fields
passed
0.008s
OrderCancelReason Validations
Should not validate OrderCancelReason without valid id
passed
0.002s
OrderCancelReason Validations
Should not validate OrderCancelReason without valid reason
passed
0.001s