Welcome to mirror list, hosted at ThFree Co, Russian Federation.

constants_spec.js « droplab « javascripts « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fd153a49fcdbbad73d52a22048c3e550155b6710 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* eslint-disable */

import * as constants from '~/droplab/constants';

describe('constants', function () {
  describe('DATA_TRIGGER', function () {
    it('should be `data-dropdown-trigger`', function() {
      expect(constants.DATA_TRIGGER).toBe('data-dropdown-trigger');
    });
  });

  describe('DATA_DROPDOWN', function () {
    it('should be `data-dropdown`', function() {
      expect(constants.DATA_DROPDOWN).toBe('data-dropdown');
    });
  });

  describe('SELECTED_CLASS', function () {
    it('should be `droplab-item-selected`', function() {
      expect(constants.SELECTED_CLASS).toBe('droplab-item-selected');
    });
  });

  describe('ACTIVE_CLASS', function () {
    it('should be `droplab-item-active`', function() {
      expect(constants.ACTIVE_CLASS).toBe('droplab-item-active');
    });
  });

  describe('IGNORE_CLASS', function () {
    it('should be `droplab-item-ignore`', function() {
      expect(constants.IGNORE_CLASS).toBe('droplab-item-ignore');
    });
  });
});