mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Allow sorting when viewing/editing data. Fixes #1894
This commit is contained in:
committed by
Dave Page
parent
659390493d
commit
fa1854bd85
31
web/regression/javascript/sqleditor/filter_dialog_specs.js
Normal file
31
web/regression/javascript/sqleditor/filter_dialog_specs.js
Normal file
@@ -0,0 +1,31 @@
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// pgAdmin 4 - PostgreSQL Tools
|
||||
//
|
||||
// Copyright (C) 2013 - 2018, The pgAdmin Development Team
|
||||
// This software is released under the PostgreSQL Licence
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
import filterDialog from 'sources/sqleditor/filter_dialog';
|
||||
import filterDialogModel from 'sources/sqleditor/filter_dialog_model';
|
||||
|
||||
describe('filterDialog', () => {
|
||||
let sqlEditorController;
|
||||
sqlEditorController = jasmine.createSpy('sqlEditorController')
|
||||
describe('filterDialog', () => {
|
||||
describe('when using filter dialog', () => {
|
||||
beforeEach(() => {
|
||||
spyOn(filterDialog, 'dialog');
|
||||
});
|
||||
|
||||
it("it should be defined as function", function() {
|
||||
expect(filterDialog.dialog).toBeDefined();
|
||||
});
|
||||
|
||||
it('it should call without proper handler', () => {
|
||||
expect(filterDialog.dialog).not.toHaveBeenCalledWith({});
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user