import { NoTestClassesVariant , OnlyTestClassesVariant , TestClassesVariant , WithTestClassesVariant , } from "../classes/TestClassesVariant" ; const NO_TEST_CLASSES_VARIANT = new NoTestClassesVariant ( ) ; const WITH_TEST_CLASSES_VARIANT = new WithTestClassesVariant ( ) ; const ONLY_TEST_CLASSES_VARIANT = new OnlyTestClassesVariant ( ) ; export { NO_TEST_CLASSES_VARIANT , WITH_TEST_CLASSES_VARIANT , ONLY_TEST_CLASSES_VARIANT } ; export class TestClassesVariants { public static availableTestClassesVariants : TestClassesVariant [ ] = [ NO_TEST_CLASSES_VARIANT , WITH_TEST_CLASSES_VARIANT , ONLY_TEST_CLASSES_VARIANT , ] ; public static getTestClassesVariantById ( modeId ) { if ( ! modeId ) { return ; } for ( const availableMode of TestClassesVariants . availableTestClassesVariants ) { if ( availableMode . id === modeId ) { return availableMode ; } } } }