From 2400c68b0a230e7db57d307a0a29b1cd5d6d6a25 Mon Sep 17 00:00:00 2001 From: jrobinso Date: Mon, 1 Mar 2021 12:03:47 -0800 Subject: [PATCH] unit test fix --- js/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/search.js b/js/search.js index 618d9f21f..1ad09ca81 100644 --- a/js/search.js +++ b/js/search.js @@ -22,7 +22,7 @@ async function search(browser, string) { locusObject = browser.genome.featureDB[locus.toUpperCase()] } - if (!locusObject && (false !== browser.config.search)) { + if (!locusObject && (browser.config && false !== browser.config.search)) { locusObject = await searchWebService(browser, locus, searchConfig) } return locusObject