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.23.0 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.22.0 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.21.0 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.20.1 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.20.0 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.19.0 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.18.1 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.18.0 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.17.0 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.16.0 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.15.0 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.14.1 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.14.0 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.13.2 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.13.1 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.13.0 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.12.1 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.12.0 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.11.0 spec/javascripts/results-renderers-spec.js
mumuki-laboratory-9.10.0 spec/javascripts/results-renderers-spec.js