Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hemengke1997 committed Jun 21, 2023
1 parent 5395ae8 commit 1924b19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/pxtorem.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ describe('rootValue', () => {
const css2 = '.rule { font-size: 20px }'
const expected = '.rule { font-size: 1rem }'
const options = {
rootValue(input: Input): number {
if (input.from.includes('basic.css')) {
rootValue(input: Input | undefined): number {
if (input?.from.includes('basic.css')) {
return 15
}
return 20
Expand Down

0 comments on commit 1924b19

Please sign in to comment.