Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(science): add more units in en locale #1386

Merged
merged 3 commits into from Sep 26, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
28 changes: 28 additions & 0 deletions src/locales/en/science/unit.ts
Expand Up @@ -87,4 +87,32 @@ export default Object.freeze([
name: 'sievert',
symbol: 'Sv',
},
{
name: 'steradian',
symbol: 'sr',
},
{
name: 'farad',
symbol: 'F',
},
{
name: 'siemens',
symbol: 'S',
},
{
name: 'weber',
symbol: 'Wb',
},
{
name: 'henry',
symbol: 'H',
},
{
name: 'lux',
symbol: 'lx',
},
{
name: 'katal',
symbol: 'kat',
},
]);
12 changes: 6 additions & 6 deletions test/__snapshots__/science.spec.ts.snap
Expand Up @@ -10,8 +10,8 @@ exports[`science > 42 > chemicalElement 1`] = `

exports[`science > 42 > unit 1`] = `
{
"name": "hertz",
"symbol": "Hz",
"name": "pascal",
"symbol": "Pa",
}
`;

Expand All @@ -25,8 +25,8 @@ exports[`science > 1211 > chemicalElement 1`] = `

exports[`science > 1211 > unit 1`] = `
{
"name": "gray",
"symbol": "Gy",
"name": "henry",
"symbol": "H",
}
`;

Expand All @@ -40,7 +40,7 @@ exports[`science > 1337 > chemicalElement 1`] = `

exports[`science > 1337 > unit 1`] = `
{
"name": "candela",
"symbol": "cd",
"name": "radian",
"symbol": "rad",
}
`;