website refactor

This commit is contained in:
2026-01-16 21:44:26 +01:00
parent 2d322b42e1
commit 83a9092c50
327 changed files with 1086 additions and 1088 deletions

View File

@@ -4,8 +4,8 @@
* Run with: npm test -- feature-loader.test.ts
*/
import { describe, it, expect, beforeEach } from 'vitest';
import { loadFeatureConfig, isFeatureEnabled, getFeatureState, getAllFeatures } from './feature-loader';
import { beforeEach, describe, expect, it } from 'vitest';
import { getAllFeatures, getFeatureState, isFeatureEnabled, loadFeatureConfig } from './feature-loader';
import { FlattenedFeatures } from './feature-types';
describe('Feature Flag Configuration', () => {

View File

@@ -1,10 +1,10 @@
import { featureConfig } from './features.config';
import {
FeatureFlagConfig,
FlattenedFeatures,
ConfigLoadResult,
FeatureState
import {
ConfigLoadResult,
FeatureFlagConfig,
FeatureState,
FlattenedFeatures
} from './feature-types';
import { featureConfig } from './features.config';
/**
* Default configuration path relative to project root

View File

@@ -2,8 +2,8 @@
* Integration test to verify the feature flag system works end-to-end
*/
import { describe, it, expect } from 'vitest';
import { loadFeatureConfig, isFeatureEnabled, getFeatureState } from './feature-loader';
import { describe, expect, it } from 'vitest';
import { getFeatureState, isFeatureEnabled, loadFeatureConfig } from './feature-loader';
describe('Feature Flag Integration Test', () => {
it('should load config and provide correct feature states', async () => {