mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Merge pull request #3947 from overleaf/msm-reenable-eslint-rules
Reenable `eslint` rules GitOrigin-RevId: a0aa5f941ba1bc49ff758b5256f91d696f442c6d
This commit is contained in:
@@ -443,6 +443,7 @@ describe('ChatContext', function () {
|
||||
function renderChatContextHook(props) {
|
||||
return renderHook(() => useChatContext(), {
|
||||
// Wrap with ChatContext.Provider (and the other editor context providers)
|
||||
// eslint-disable-next-line react/display-name
|
||||
wrapper: ({ children }) => (
|
||||
<ChatProviders {...props}>{children}</ChatProviders>
|
||||
),
|
||||
|
||||
+1
-1
@@ -50,7 +50,7 @@ describe('<PreviewDownloadFileList />', function () {
|
||||
expect(topFileTypes.length).to.be.above(0)
|
||||
const outputTopFileTypes = outputFiles
|
||||
.filter(file => {
|
||||
if (topFileTypes.includes(file.type)) return file.type
|
||||
return topFileTypes.includes(file.type)
|
||||
})
|
||||
.map(file => file.type)
|
||||
const topMenuItems = menuItems.slice(0, outputTopFileTypes.length)
|
||||
|
||||
Reference in New Issue
Block a user