Show newest queue log lines first
This commit is contained in:
@@ -1444,6 +1444,9 @@ class TemplateHelperTests(unittest.TestCase):
|
||||
self.assertIn("queueRequestId", APP.INDEX_HTML)
|
||||
self.assertIn("if (requestId !== state.queueRequestId) return data;", APP.INDEX_HTML)
|
||||
|
||||
def test_search_page_renders_queue_logs_newest_first(self):
|
||||
self.assertIn('[...(job.log || [])].slice(-28).reverse().join("\\n")', APP.INDEX_HTML)
|
||||
|
||||
def test_pages_share_browser_api_helper(self):
|
||||
self.assertIn("async function api(path, options = {})", APP.INDEX_HTML)
|
||||
self.assertIn("async function api(path, options = {})", APP.CONFIG_HTML)
|
||||
|
||||
Reference in New Issue
Block a user