Sha256: 42d7226b0e14c868cdd588f1270618193deecaa6ae991d718d10bb63d3e3bdba

Contents?: true

Size: 408 Bytes

Versions: 25

Compression:

Stored size: 408 Bytes

Contents

import { testComponentSnapshotsWithFixtures } from '@theforeman/test';

import RuleSeverity from './index';

const levels = ['Low', 'Medium', 'High', 'Critical', 'foo'];

const fixtures = levels.reduce((memo, level) => {
  memo[`should render for ${level} severity`] = { severity: level };
  return memo;
}, {});

describe('RuleSeverity', () =>
  testComponentSnapshotsWithFixtures(RuleSeverity, fixtures));

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
foreman_openscap-10.1.0 webpack/components/RuleSeverity/RuleSeverity.test.js
foreman_openscap-10.0.3 webpack/components/RuleSeverity/RuleSeverity.test.js
foreman_openscap-10.0.2 webpack/components/RuleSeverity/RuleSeverity.test.js
foreman_openscap-10.0.1 webpack/components/RuleSeverity/RuleSeverity.test.js
foreman_openscap-10.0.0 webpack/components/RuleSeverity/RuleSeverity.test.js
foreman_openscap-9.0.4 webpack/components/RuleSeverity/RuleSeverity.test.js
foreman_openscap-9.0.3 webpack/components/RuleSeverity/RuleSeverity.test.js
foreman_openscap-9.0.2 webpack/components/RuleSeverity/RuleSeverity.test.js
foreman_openscap-9.0.1 webpack/components/RuleSeverity/RuleSeverity.test.js
foreman_openscap-9.0.0 webpack/components/RuleSeverity/RuleSeverity.test.js
foreman_openscap-8.0.0 webpack/components/RuleSeverity/RuleSeverity.test.js
foreman_openscap-7.1.1 webpack/components/RuleSeverity/RuleSeverity.test.js
foreman_openscap-7.1.0 webpack/components/RuleSeverity/RuleSeverity.test.js
foreman_openscap-7.0.0 webpack/components/RuleSeverity/RuleSeverity.test.js
foreman_openscap-6.0.0 webpack/components/RuleSeverity/RuleSeverity.test.js
foreman_openscap-5.2.3 webpack/components/RuleSeverity/RuleSeverity.test.js
foreman_openscap-5.2.2 webpack/components/RuleSeverity/RuleSeverity.test.js
foreman_openscap-5.1.1 webpack/components/RuleSeverity/RuleSeverity.test.js
foreman_openscap-5.2.1 webpack/components/RuleSeverity/RuleSeverity.test.js
foreman_openscap-5.2.0 webpack/components/RuleSeverity/RuleSeverity.test.js