Skip to content

Commit 7be5360

Browse files
committed
Appease TS and remove typo
1 parent 44cd96a commit 7be5360

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/intersection-observer.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ describe('Section is intersecting', () => {
204204
]);
205205
});
206206

207-
fit('should receive intersection options to the callback', () => {
207+
it('should receive intersection options to the callback', () => {
208208
const cb = jest.fn();
209209
const options: IntersectionDescription = {
210210
intersectionRatio: 1,
@@ -224,7 +224,7 @@ describe('Section is intersecting', () => {
224224
intersectionObserver.enterNode(screen.getByText(/A section 1/), options);
225225
});
226226

227-
const [entries, observer] = cb.mock.calls[0];
227+
const [entries, _observer] = cb.mock.calls[0];
228228

229229
expect(cb).toHaveBeenCalledTimes(1);
230230
expect(entries).toHaveLength(1); // Number of entries

0 commit comments

Comments
 (0)