feat(Microsoft Teams Node): Overhaul (#7477)

Co-authored-by: Giulio Andreini <andreini@netseven.it>
This commit is contained in:
Michael Kret
2024-01-22 18:35:09 +02:00
committed by GitHub
parent 44f6ef2ed7
commit 2c146cca62
68 changed files with 6284 additions and 664 deletions

View File

@@ -0,0 +1,25 @@
import { filterSortSearchListItems } from '../../v2/helpers/utils';
describe('Test MicrosoftTeamsV2, filterSortSearchListItems', () => {
it('should filter, sort and search list items', () => {
const items = [
{
name: 'Test1',
value: 'test1',
},
{
name: 'Test2',
value: 'test2',
},
];
const result = filterSortSearchListItems(items, 'test1');
expect(result).toEqual([
{
name: 'Test1',
value: 'test1',
},
]);
});
});