Skip to content

Commit

Permalink
feat(science): add more units in en locale (#1386)
Browse files Browse the repository at this point in the history
  • Loading branch information
import-brain authored Sep 26, 2022
1 parent 9361578 commit 8dcb584
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 6 deletions.
28 changes: 28 additions & 0 deletions src/locales/en/science/unit.ts
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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",
}
`;

0 comments on commit 8dcb584

Please sign in to comment.