aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorST-DDT <[email protected]>2024-05-25 21:45:31 +0200
committerGitHub <[email protected]>2024-05-25 21:45:31 +0200
commit558b959e0e2f791dab0ba2f500493ba7ddbd25e2 (patch)
tree80b1c5b8ef263534b70a0fad32586f2d68712d9c /test
parentb97984c7a165df0b516cbba0806b7cd68d77fc52 (diff)
downloadfaker-558b959e0e2f791dab0ba2f500493ba7ddbd25e2.tar.xz
faker-558b959e0e2f791dab0ba2f500493ba7ddbd25e2.zip
refactor(locale)!: use snake case for all locale data (#2910)
Diffstat (limited to 'test')
-rw-r--r--test/modules/science.spec.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/modules/science.spec.ts b/test/modules/science.spec.ts
index 80002c19..051fecbb 100644
--- a/test/modules/science.spec.ts
+++ b/test/modules/science.spec.ts
@@ -28,7 +28,7 @@ describe('science', () => {
expect(name).toBeTypeOf('string');
expect(() => {
- faker.definitions.science.chemicalElement.find(
+ faker.definitions.science.chemical_element.find(
(element) => element.name === name
);
}).toBeTruthy();
@@ -39,7 +39,7 @@ describe('science', () => {
expect(symbol).toBeTypeOf('string');
expect(() => {
- faker.definitions.science.chemicalElement.find(
+ faker.definitions.science.chemical_element.find(
(element) => element.symbol === symbol
);
}).toBeTruthy();
@@ -50,7 +50,7 @@ describe('science', () => {
expect(atomicNumber).toBeTypeOf('number');
expect(() => {
- faker.definitions.science.chemicalElement.find(
+ faker.definitions.science.chemical_element.find(
(element) => element.atomicNumber === atomicNumber
);
}).toBeTruthy();