add test coverage for sql lab components (#3022)

This commit is contained in:
Grace Guo
2017-06-22 10:31:13 -07:00
committed by GitHub
parent 6eba6cac0b
commit a48e246aa0
4 changed files with 176 additions and 8 deletions

View File

@@ -91,7 +91,7 @@ describe('SqlEditorLeftBar', () => {
it('dbMutator should build databases options', () => {
const options = wrapper.instance().dbMutator(databases);
expect(options).to.deep.equal([
{ value: 188, label: 'main' },
{ value: 1, label: 'main' },
{ value: 208, label: 'Presto - Gold' },
]);
});