aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Cheng <[email protected]>2022-04-05 11:14:18 -0400
committerGitHub <[email protected]>2022-04-05 15:14:18 +0000
commitf22b93a0d6fc08e122b67c2a7dd010ee81d67be4 (patch)
tree9e95fda52f72250f3f6fb6044e23742ec5ce0ed1
parentb34ef465fb23829e4f07f3ffbba4203737f74b08 (diff)
downloadfaker-f22b93a0d6fc08e122b67c2a7dd010ee81d67be4.tar.xz
faker-f22b93a0d6fc08e122b67c2a7dd010ee81d67be4.zip
feat: add some en locale product names (#686)
-rw-r--r--src/locales/en/commerce/product_name.ts8
-rw-r--r--test/commerce.spec.ts8
2 files changed, 12 insertions, 4 deletions
diff --git a/src/locales/en/commerce/product_name.ts b/src/locales/en/commerce/product_name.ts
index 9658530e..8c52af68 100644
--- a/src/locales/en/commerce/product_name.ts
+++ b/src/locales/en/commerce/product_name.ts
@@ -2,24 +2,32 @@ export default {
adjective: [
'Small',
'Ergonomic',
+ 'Electronic',
'Rustic',
'Intelligent',
'Gorgeous',
'Incredible',
+ 'Elegant',
'Fantastic',
'Practical',
+ 'Modern',
+ 'Recycled',
'Sleek',
+ 'Bespoke',
'Awesome',
'Generic',
'Handcrafted',
'Handmade',
+ 'Oriental',
'Licensed',
+ 'Luxurious',
'Refined',
'Unbranded',
'Tasty',
],
material: [
'Steel',
+ 'Bronze',
'Wooden',
'Concrete',
'Plastic',
diff --git a/test/commerce.spec.ts b/test/commerce.spec.ts
index 3497aa9f..64c7d7b3 100644
--- a/test/commerce.spec.ts
+++ b/test/commerce.spec.ts
@@ -10,7 +10,7 @@ const seededRuns = [
productName: 'Fantastic Soft Sausages',
price: '375.00',
productAdjective: 'Fantastic',
- productMaterial: 'Cotton',
+ productMaterial: 'Plastic',
product: 'Pants',
productDescription:
'The Apollotech B340 is an affordable wireless mouse with reliable connectivity, 12 months battery life and modern design',
@@ -21,9 +21,9 @@ const seededRuns = [
expectations: {
color: 'black',
department: 'Computers',
- productName: 'Gorgeous Rubber Keyboard',
+ productName: 'Incredible Granite Keyboard',
price: '263.00',
- productAdjective: 'Gorgeous',
+ productAdjective: 'Incredible',
productMaterial: 'Concrete',
product: 'Ball',
productDescription:
@@ -35,7 +35,7 @@ const seededRuns = [
expectations: {
color: 'azure',
department: 'Automotive',
- productName: 'Unbranded Granite Salad',
+ productName: 'Unbranded Cotton Salad',
price: '929.00',
productAdjective: 'Unbranded',
productMaterial: 'Frozen',