diff --git a/x-pack/plugins/files/public/components/file_picker/file_picker.test.tsx b/x-pack/plugins/files/public/components/file_picker/file_picker.test.tsx index 774e9883643a0..14b621050a0ef 100644 --- a/x-pack/plugins/files/public/components/file_picker/file_picker.test.tsx +++ b/x-pack/plugins/files/public/components/file_picker/file_picker.test.tsx @@ -4,14 +4,11 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import { promisify } from 'util'; import React from 'react'; import { EuiButtonEmpty } from '@elastic/eui'; import { act } from 'react-dom/test-utils'; import { registerTestBed } from '@kbn/test-jest-helpers'; -const pImmediate = promisify(global.setImmediate); - import { createMockFilesClient } from '../../mocks'; import { FilesContext } from '../context'; import { FilePicker, Props } from './file_picker';