try reorder imports
This commit is contained in:
parent
eddb3badc9
commit
266a80b071
|
@ -1,11 +1,11 @@
|
||||||
import { render, screen, fireEvent } from '@testing-library/react'
|
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
import { render, screen, fireEvent } from '@testing-library/react'
|
||||||
import { NotificationType } from '../../__generated__/globalTypes'
|
import { NotificationType } from '../../__generated__/globalTypes'
|
||||||
import { MessageState } from './Messages'
|
import { MessageState } from './Messages'
|
||||||
import MessagePlain from './Message'
|
import MessagePlain from './Message'
|
||||||
import MessageProgress from './MessageProgress'
|
import MessageProgress from './MessageProgress'
|
||||||
|
|
||||||
// Define the mock for SubscriptionsHook before using it
|
// Define the mock for SubscriptionsHook before importing it
|
||||||
const MockSubscriptionsHook = ({ messages, setMessages }: any) => {
|
const MockSubscriptionsHook = ({ messages, setMessages }: any) => {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
|
|
Loading…
Reference in New Issue