summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDerick Montague <derick.montague@ibm.com>2021-01-07 08:38:11 +0300
committerYoshie Muranaka <yoshiemuranaka@gmail.com>2021-01-12 23:09:18 +0300
commit7def3249d454ed7fd45975ab6b5a22cca6ad3a5a (patch)
tree696ed95141d392186ca1743c4cb9c7671e5b9b55 /tests
parente88b816d47ce36ebc449b3ad78496916beda8ca4 (diff)
downloadwebui-vue-7def3249d454ed7fd45975ab6b5a22cca6ad3a5a.tar.xz
Fix broken TableToolbar snapshot test
Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I37054cd6aabc619a001ced0d928aacd22f46ed3d
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/Global/InfoTooltip.spec.js1
-rw-r--r--tests/unit/Global/__snapshots__/TableToolbar.spec.js.snap6
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/unit/Global/InfoTooltip.spec.js b/tests/unit/Global/InfoTooltip.spec.js
index 37290f67..6b9e1107 100644
--- a/tests/unit/Global/InfoTooltip.spec.js
+++ b/tests/unit/Global/InfoTooltip.spec.js
@@ -2,6 +2,7 @@ import { mount, createLocalVue } from '@vue/test-utils';
import InfoTooltip from '@/components/Global/InfoTooltip';
import { BootstrapVue } from 'bootstrap-vue';
+process.env.BOOTSTRAP_VUE_NO_WARN = true;
const localVue = createLocalVue();
localVue.use(BootstrapVue);
diff --git a/tests/unit/Global/__snapshots__/TableToolbar.spec.js.snap b/tests/unit/Global/__snapshots__/TableToolbar.spec.js.snap
index 140f6f42..ecaabf2c 100644
--- a/tests/unit/Global/__snapshots__/TableToolbar.spec.js.snap
+++ b/tests/unit/Global/__snapshots__/TableToolbar.spec.js.snap
@@ -13,16 +13,22 @@ exports[`TableToolbar.vue should render correctly 1`] = `
<p
class="toolbar-selected"
>
+
12 global.action.selected
+
</p>
+
<div
class="toolbar-actions d-flex"
>
+
<button
class="btn d-block btn-secondary"
type="button"
>
+
global.action.cancel
+
</button>
</div>
</div>