mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-25 03:20:49 -08:00
f6b85f4a69
* fix(editor): update `vue-json-pretty` package * fix(editor): JSON view show string numbers and null properly * fix(editor): testing if RunDataJson.vue display the values according to its type * chore(editor): resolve package-lock.json conflict * fix(editor): using @pinia/testing library to mock pinia store * chore: fix package-lock.json after merge conflicts
12 lines
433 B
TypeScript
12 lines
433 B
TypeScript
import '@testing-library/jest-dom';
|
|
import Vue from 'vue';
|
|
|
|
Vue.config.productionTip = false;
|
|
Vue.config.devtools = false;
|
|
|
|
// TODO: Investigate why this is needed
|
|
// Without having this 3rd party library imported like this, any component test using 'vue-json-pretty' fail with:
|
|
// [Vue warn]: Failed to mount component: template or render function not defined.
|
|
Vue.component('vue-json-pretty', require('vue-json-pretty').default);
|
|
|