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

minor changes

This commit is contained in:
lana-k
2021-02-02 23:39:24 +01:00
parent 82592ed69d
commit a787d9afb2
4 changed files with 15 additions and 15 deletions

View File

@@ -1,10 +1,10 @@
import { expect } from 'chai'
import { shallowMount } from '@vue/test-utils'
import tableDescription from '@/components/TableDescription.vue'
import TableDescription from '@/components/TableDescription.vue'
describe('TableDescription.vue', () => {
it('Initially the columns are hidden and table name is rendered', () => {
const wrapper = shallowMount(tableDescription, {
const wrapper = shallowMount(TableDescription, {
propsData: {
name: 'Test table',
columns: [
@@ -18,7 +18,7 @@ describe('TableDescription.vue', () => {
})
it('Columns are visible and correct when click on table name', async () => {
const wrapper = shallowMount(tableDescription, {
const wrapper = shallowMount(TableDescription, {
propsData: {
name: 'Test table',
columns: [