Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Shenato committed Sep 4, 2023
1 parent 70ae890 commit 32c76e0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/@react-facet/shared-facet/src/index.spec.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React, { ReactElement, useRef, useState } from 'react'
import React, { ReactElement, useRef } from 'react'
import { useFacetUnwrap, useFacetEffect, NO_VALUE, useFacetState, Mount } from '@react-facet/core'
import { act, getByText, render } from '@react-facet/dom-fiber-testing-library'
import { render } from '@react-facet/dom-fiber-testing-library'
import { sharedDynamicSelector } from './sharedDynamicSelector'
import { SharedFacetDriverProvider, sharedFacetDriverContext } from './context/sharedFacetDriver'
import { SharedFacetDriverProvider } from './context/sharedFacetDriver'
import { sharedFacet } from './sharedFacet'
import { sharedSelector } from './sharedSelector'
import { useSharedFacet } from './hooks'
Expand Down Expand Up @@ -218,7 +218,7 @@ describe('rendering from facet', () => {
</SharedFacetDriverProvider>
)

const { queryByText, getByText } = render(app)
const { getByText } = render(app)

// It should find testing 123 only once, if it doesnt exist or there's more than one the test will not succeed
expect(getByText('testing 123')).not.toBeEmptyDOMElement()
Expand Down

0 comments on commit 32c76e0

Please sign in to comment.