1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-06 18:18:53 +08:00

#63 migrate to Vue 3

This commit is contained in:
lana-k
2024-10-13 16:12:21 +02:00
parent b30b2181e4
commit 637d8d26dd
60 changed files with 16279 additions and 17440 deletions

View File

@@ -11,7 +11,7 @@ describe('MainMenu.vue', () => {
afterEach(() => {
sinon.restore()
// We need explicitly destroy the component, so that beforeDestroy hook was called
// We need explicitly destroy the component, so that beforeUnmount hook was called
// It's important because in this hook MainMenu component removes keydown event listener.
wrapper.destroy()
})
@@ -497,7 +497,7 @@ describe('MainMenu.vue', () => {
// check that the tab was updated
expect(mutations.updateTab.calledOnceWith(state, sinon.match({
tab: tab,
tab,
newValues: {
name: 'foo',
id: 1,

View File

@@ -1,6 +1,6 @@
import { expect } from 'chai'
import { _getDataSources, getPivotCanvas, getPivotHtml }
from '@/views/Main/Workspace/Tabs/Tab/DataView/Pivot/pivotHelper'
from '@/views/Main/Workspace/Tabs/Tab/DataView/Pivot/pivotHelper'
describe('pivotHelper.js', () => {
it('_getDataSources returns data sources', () => {