import { DatasetListByFamilyPipe } from './dataset-list-by-family.pipe';
import { DATASET_LIST } from '../../../test-data';

describe('[Shared][Pipes] DatasetListByFamilyPipe', () => {
    let pipe = new DatasetListByFamilyPipe();

    it('should return datasets corresponding to the given dataset family ID', () => {
        expect(pipe.transform(DATASET_LIST, 1)).toEqual(DATASET_LIST);
    });
});