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.9.0 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.8.2 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.8.1 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.8.0 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.7.2 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.7.1 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.7.0 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.6.0 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.5.1 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.5.0 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.4.1 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.4.0 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.3.1 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.3.0 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.2.0 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.1.3 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.1.2 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.1.1 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.1.0 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.0.6 spec/javascripts/results-renderers-spec.js