import { describe, expect, test } from '@jest/globals';
import { NodeType } from '@hestia-earth/schema';

import { validateConfig } from './validate-config';

describe('validate-config', () => {
  describe('validateConfig', () => {
    describe(NodeType.Cycle, () => {
      test('should be valid', () => {
        const results = validateConfig(NodeType.Cycle);
        expect(results).toEqual([]);
      });
    });

    describe(NodeType.ImpactAssessment, () => {
      test('should be valid', () => {
        const results = validateConfig(NodeType.ImpactAssessment);
        expect(results).toEqual([]);
      });
    });

    describe(NodeType.Site, () => {
      test('should be valid', () => {
        const results = validateConfig(NodeType.Site);
        expect(results).toEqual([]);
      });
    });
  });
});
