mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
suppress bootstrap warnings during unit testing
This commit is contained in:
@@ -2,4 +2,8 @@ import "@testing-library/jest-dom";
|
||||
|
||||
/* still don't understand what was invoking the following, but nothing should,
|
||||
and this makes the tag tests work correctly */
|
||||
global.XMLHttpRequest = undefined;
|
||||
global.XMLHttpRequest = undefined;
|
||||
|
||||
// stops Bootstrap's warnings when components can't find a non-existent doc
|
||||
// https://github.com/bootstrap-vue/bootstrap-vue/issues/3303
|
||||
process.env.BOOTSTRAP_VUE_NO_WARN = true;
|
||||
|
||||
Reference in New Issue
Block a user