* fix: A couple of changes to enable cs3d integration build * Bun update * fix: Crosshairs tests due to order changes * Fix a race in DicomTagBrowser.spec.ts and update the comparison for the screenshot for seg hydration. * Fix sorting issues by using consistent sort * fix: Inconsistency in scoord loader. Will need an update to screenshot * Fix crosshairs stability issues and random order issues in Scoord * Update the comparison image * Update navigate image * fix: Axios issue * Update to current CS3D
15 lines
416 B
TypeScript
15 lines
416 B
TypeScript
import { utils } from '@ohif/core';
|
|
|
|
const { sortingCriteria } = utils;
|
|
const { seriesSortCriteria } = sortingCriteria;
|
|
|
|
/** Stable series order for e2e (Playwright sets TEST_ENV=true via cross-env). */
|
|
const sortingCriteriaFn =
|
|
process.env.TEST_ENV === 'true'
|
|
? seriesSortCriteria.compareSeriesUID
|
|
: seriesSortCriteria.seriesInfoSortingCriteria;
|
|
|
|
export default {
|
|
sortingCriteria: sortingCriteriaFn,
|
|
};
|