refactor: replace template strings with regular string literals

Template literals are useful when you need:  1. [Interpolated strings](https://en.wikipedia.org/wiki/String_interpolation).
This commit is contained in:
deepsource-autofix[bot] 2024-05-21 15:23:16 +00:00 committed by GitHub
parent 4e4df9610f
commit 08df5165c9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,7 +6,7 @@ const TestData: Item[] = [
availability: true,
name: "Bar of Soap",
price: 2.99,
description: `Example`,
description: "Example",
labels: [Labels.vegan, Labels.spicy],
},
{
@ -14,7 +14,7 @@ const TestData: Item[] = [
availability: true,
name: "Sock",
price: 1.99,
description: `Example`,
description: "Example",
labels: [Labels.vegan, Labels.fish, Labels.nut, Labels.spicy],
},
{
@ -22,7 +22,7 @@ const TestData: Item[] = [
availability: false,
name: "Brick",
price: 0,
description: `Example`,
description: "Example",
labels: [Labels.spicy],
},
{
@ -30,7 +30,7 @@ const TestData: Item[] = [
availability: true,
name: "Toast",
price: 3.49,
description: `Example`,
description: "Example",
labels: [Labels.gluten],
},
{
@ -38,7 +38,7 @@ const TestData: Item[] = [
availability: true,
name: "water",
price: 1,
description: `Example`,
description: "Example",
labels: [Labels.fish],
},
{
@ -46,7 +46,7 @@ const TestData: Item[] = [
availability: true,
name: "Singular slice of bread",
price: 0.39,
description: `Example`,
description: "Example",
labels: [Labels.nut],
},
{