mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Initial re-vamp of the History tab.
This commit is contained in:
@@ -58,5 +58,5 @@ def webdir_path():
|
||||
|
||||
def try_building_js():
|
||||
with pushd(webdir_path()):
|
||||
if call(['yarn', 'run', 'bundle']) != 0:
|
||||
if call(['yarn', 'run', 'bundle:dev']) != 0:
|
||||
raise OSError('Error executing bundling the application')
|
||||
|
||||
@@ -61,7 +61,7 @@ class JavascriptBundlerTestCase(BaseTestGenerator):
|
||||
self.mockOs.listdir.return_value = [u'history.js', u'reactComponents.js']
|
||||
|
||||
javascriptBundler.bundle()
|
||||
self.mockSubprocess.call.assert_called_once_with(['yarn', 'run', 'bundle'])
|
||||
self.mockSubprocess.call.assert_called_once_with(['yarn', 'run', 'bundle:dev'])
|
||||
|
||||
reportedState = javascriptBundler.report()
|
||||
expectedState = self.JsState.NEW
|
||||
@@ -110,7 +110,7 @@ class JavascriptBundlerTestCase(BaseTestGenerator):
|
||||
self.mockOs.listdir.return_value = [u'history.js', u'reactComponents.js']
|
||||
|
||||
javascriptBundler.bundle()
|
||||
self.mockSubprocess.call.assert_called_once_with(['yarn', 'run', 'bundle'])
|
||||
self.mockSubprocess.call.assert_called_once_with(['yarn', 'run', 'bundle:dev'])
|
||||
|
||||
reportedState = javascriptBundler.report()
|
||||
expectedState = self.JsState.OLD
|
||||
|
||||
Reference in New Issue
Block a user