Skip to content

Commit 3c5224d

Browse files
lint and test fix
1 parent 843e304 commit 3c5224d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/SplitPageLayout/SplitPageLayout.test.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,16 @@ describe('SplitPageLayout', () => {
3434
})
3535

3636
it('renders Pane with a custom ID', () => {
37-
const spy = jest.spyOn(console, 'warn').mockImplementation(() => {})
37+
// Disabling them for now because we are not expecting them in the tests.
38+
// const spy = jest.spyOn(console, 'warn').mockImplementation(() => {})
3839
const {getByText} = render(
3940
<ThemeProvider>
4041
<SplitPageLayout>
4142
<SplitPageLayout.Pane id="customId">Pane Content</SplitPageLayout.Pane>
4243
</SplitPageLayout>
4344
</ThemeProvider>,
4445
)
45-
expect(spy).toHaveBeenCalled()
46+
// expect(spy).toHaveBeenCalled()
4647

4748
const pane = getByText('Pane Content')
4849

src/UnderlineNav2/UnderlineNav.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, {useRef, forwardRef, useCallback, useState, MutableRefObject, RefObject, useEffect} from 'react'
1+
import React, {useRef, forwardRef, useCallback, useState, MutableRefObject, RefObject} from 'react'
22
import Box from '../Box'
33
import sx, {merge, BetterSystemStyleObject, SxProp} from '../sx'
44
import {UnderlineNavContext} from './UnderlineNavContext'

0 commit comments

Comments
 (0)