galaxyproject / galaxy

Data intensive science for everyone.
https://galaxyproject.org
Other
1.42k stars 1.01k forks source link

Mock Out Tool Search Worker in Unrelated Jest Tests #19179

Open jmchilton opened 1 week ago

jmchilton commented 1 week ago

The current code causes a bunch of extraneous logging and requests against non-existent servers that we probably don't want to occur in unit testing.

My attempt here - https://github.com/jmchilton/galaxy/commit/f7593aa21d7172f98faae591e1132696a291af4e - fixed the tests but broke the code at runtime. I keep getting import errors no matter how I tried to extract that code out of the Vue class.