mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-22 08:46:39 -06:00
37 lines
829 B
JavaScript
37 lines
829 B
JavaScript
|
/////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// pgAdmin 4 - PostgreSQL Tools
|
||
|
//
|
||
|
// Copyright (C) 2013 - 2022, The pgAdmin Development Team
|
||
|
// This software is released under the PostgreSQL Licence
|
||
|
//
|
||
|
//////////////////////////////////////////////////////////////
|
||
|
import {messages} from './fake_messages';
|
||
|
|
||
|
const fakePgAdmin = {
|
||
|
Browser: {
|
||
|
messages: messages,
|
||
|
Events: {
|
||
|
on: jasmine.createSpy('on'),
|
||
|
},
|
||
|
get_preferences_for_module: ()=>({}),
|
||
|
docker: {
|
||
|
findPanels: function() {
|
||
|
return [
|
||
|
{
|
||
|
isVisible: function() {
|
||
|
return true;
|
||
|
},
|
||
|
},
|
||
|
];
|
||
|
},
|
||
|
},
|
||
|
onPreferencesChange: ()=>{/*This is intentional (SonarQube)*/},
|
||
|
utils: {
|
||
|
app_version_int: 1234,
|
||
|
},
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export default fakePgAdmin;
|