Skip to content

Commit

Permalink
Add configure test
Browse files Browse the repository at this point in the history
  • Loading branch information
Zacqary committed Sep 26, 2024
1 parent 48bba35 commit 9609732
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 873 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,23 @@
* 2.0.
*/

import { configureTextCustomFieldFactory } from './configure_text_field';
import { configureListCustomFieldFactory } from './configure_list_field';

describe('configureTextCustomFieldFactory ', () => {
const builder = configureTextCustomFieldFactory();
describe('configureListCustomFieldFactory ', () => {
const builder = configureListCustomFieldFactory();

beforeEach(() => {
jest.clearAllMocks();
});

it('renders correctly', async () => {
expect(builder).toEqual({
id: 'text',
label: 'Text',
id: 'list',
label: 'List',
getEuiTableColumn: expect.any(Function),
build: expect.any(Function),
convertNullToEmpty: expect.any(Function),
getFilterOptions: expect.any(Function),
});
});
});

This file was deleted.

Loading

0 comments on commit 9609732

Please sign in to comment.