suppress bootstrap warnings during unit testing

This commit is contained in:
Mason
2020-12-17 08:41:53 -08:00
parent 690f639bfa
commit a8d195c2ea
+5 -1
View File
@@ -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;