[Charts] Unskips the jest active cursor test suite (#114246)

This commit is contained in:
Stratoula Kalafateli 2021-10-07 15:53:38 +03:00 committed by GitHub
parent 7f1adb8d95
commit 541090deb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,8 +15,7 @@ import type { ActiveCursorSyncOption, ActiveCursorPayload } from './types';
import type { Chart, PointerEvent } from '@elastic/charts';
import type { Datatable } from '../../../../expressions/public';
// FLAKY: https://github.com/elastic/kibana/issues/110038
describe.skip('useActiveCursor', () => {
describe('useActiveCursor', () => {
let cursor: ActiveCursorPayload['cursor'];
let dispatchExternalPointerEvent: jest.Mock;
@ -77,7 +76,7 @@ describe.skip('useActiveCursor', () => {
test('should debounce events', async () => {
await act(
{
debounce: 5,
debounce: 50,
datatables: [
{
columns: [