mirror of
https://github.com/jellyfin/jellyfin-sdk-typescript.git
synced 2024-11-27 00:01:19 +00:00
Add test for ItemSortBy enum
This commit is contained in:
parent
b94568711e
commit
aabd6ee986
20
src/models/api/__tests__/index.test.ts
Normal file
20
src/models/api/__tests__/index.test.ts
Normal file
@ -0,0 +1,20 @@
|
||||
/**
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
import { ItemSortBy } from '../index';
|
||||
|
||||
/**
|
||||
* Api model tests.
|
||||
* NOTE: This is a really dumb case where because of the way TypeScript enums are generated in JavaScript we need to
|
||||
* interact with the enum in a test (either directly or indirectly) for the file to be considered covered.
|
||||
*
|
||||
* @group unit/models/api
|
||||
*/
|
||||
describe('ItemSortBy', () => {
|
||||
it('should exist', () => {
|
||||
expect(ItemSortBy).toBeDefined();
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue
Block a user