Skip to content

Commit

Permalink
chore: update name of var
Browse files Browse the repository at this point in the history
  • Loading branch information
riqwan committed Nov 20, 2023
1 parent a2b7b78 commit a11fc33
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,12 +193,12 @@ describe("ProductModuleService products", function () {
],
})

const selectedVariant = product.variants.find(
const createdVariant = product.variants.find(
(v) => v.title === variantTitle
)

expect(product.images).toHaveLength(1)
expect(selectedVariant?.options).toHaveLength(1)
expect(createdVariant?.options).toHaveLength(1)
expect(product.tags).toHaveLength(1)
expect(product.variants).toHaveLength(2)
expect(product).toEqual(
Expand Down

0 comments on commit a11fc33

Please sign in to comment.