Skip to content

Commit e169d27

Browse files
committed
style(test): format fontFamily mock and arrow function parameters
1 parent d4115c5 commit e169d27

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/options.test.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,11 @@ describe('Options Script Comprehensive Tests', () => {
8787
appendChild: jest.fn(),
8888
addEventListener: jest.fn(),
8989
},
90-
fontFamily: { value: 'Arial', addEventListener: jest.fn(), appendChild: jest.fn() },
90+
fontFamily: {
91+
value: 'Arial',
92+
addEventListener: jest.fn(),
93+
appendChild: jest.fn(),
94+
},
9195
fontSize: { value: '14', addEventListener: jest.fn() },
9296
fontStyle: { value: 'normal', addEventListener: jest.fn() },
9397
saveTheme: { addEventListener: jest.fn() },
@@ -330,7 +334,7 @@ describe('Options Script Comprehensive Tests', () => {
330334
// Mock window.matchMedia
331335
Object.defineProperty(window, 'matchMedia', {
332336
writable: true,
333-
value: jest.fn().mockImplementation(query => ({
337+
value: jest.fn().mockImplementation((query) => ({
334338
matches: false,
335339
media: query,
336340
addListener: jest.fn(),

0 commit comments

Comments
 (0)