Skip to content

Commit

Permalink
Update packages/@react-facet/core/src/mapFacets/mapFacets.spec.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Marlon <[email protected]>
  • Loading branch information
pirelenito and marlonicus authored Jul 25, 2024
1 parent 7cf0d6d commit 17cf35b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@react-facet/core/src/mapFacets/mapFacets.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ describe('mapFacetsCached', () => {
expect(mapFacet.get()).toBe('dummy')
})

it('caches calls to the mapFunction though a get call before any subscription, given a single source', () => {
it('caches calls to the mapFunction through a get call before any subscription, given a single source', () => {
const mapFunction = jest.fn().mockReturnValue('dummy')
const sourceFacet = createFacet({ initialValue: 'initial value' })
const mapFacet = mapFacetsCached([sourceFacet], mapFunction, () => () => false)
Expand Down

0 comments on commit 17cf35b

Please sign in to comment.