mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
Better looking checkboxes (#3345)
Also showing icon only on hover on control headers
This commit is contained in:
committed by
GitHub
parent
e79adbbc5f
commit
254645773c
@@ -1,6 +1,5 @@
|
||||
/* eslint-disable no-unused-expressions */
|
||||
import React from 'react';
|
||||
import { Checkbox } from 'react-bootstrap';
|
||||
import sinon from 'sinon';
|
||||
import { expect } from 'chai';
|
||||
import { describe, it, beforeEach } from 'mocha';
|
||||
@@ -28,6 +27,6 @@ describe('CheckboxControl', () => {
|
||||
expect(controlHeader).to.have.lengthOf(1);
|
||||
|
||||
const headerWrapper = controlHeader.shallow();
|
||||
expect(headerWrapper.find(Checkbox)).to.have.length(1);
|
||||
expect(headerWrapper.find('i.fa-check')).to.have.length(1);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user