Sha256: 449bbf5c2dc340d32576bad5f42b58c20d6fb2c7767759180353e83a48c56cec

Contents?: true

Size: 705 Bytes

Versions: 49

Compression:

Stored size: 705 Bytes

Contents

describe('results renderers', () => {
  it('can compute class for status', () => {
    expect(mumuki.renderers.classForStatus('passed')).toEqual('success');
  });

  it('can compute icon for status', () => {
    expect(mumuki.renderers.iconForStatus('pending')).toEqual('fa-circle');
  });

  it('can compute progress list item for status', () => {
    expect(mumuki.renderers.progressListItemClassForStatus('passed_with_warnings')).toEqual('progress-list-item text-center warning ');
  });

  it('can compute progress list item for status when active', () => {
    expect(mumuki.renderers.progressListItemClassForStatus('failed', true)).toEqual('progress-list-item text-center danger active');
  });
});

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
mumuki-laboratory-9.0.5 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.0.4 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.0.3 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.0.2 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.0.1 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.0.0 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-8.6.1 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-8.6.0 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-8.5.0 spec/javascripts/results-renderers-spec.js