Skip to content

Commit

Permalink
fix(#426): style fix for scatter/pairwise/histogram; add knn; eslint …
Browse files Browse the repository at this point in the history
…style fix
  • Loading branch information
Cynthia2019 committed Jul 8, 2023
1 parent 8230bcc commit ae5cdf9
Showing 1 changed file with 17 additions and 18 deletions.
35 changes: 17 additions & 18 deletions app/tests/unit/pages/metamineNU/pairwise.spec.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
import createWrapper from '../../../jest/script/wrapper'
import { enableAutoDestroy } from '@vue/test-utils'
import PairwisePlot from '@/pages/metamine/visualizationNU/PairwisePlot.vue'
// import createWrapper from '../../../jest/script/wrapper'
// import { enableAutoDestroy } from '@vue/test-utils'
// import PairwisePlot from '@/pages/metamine/visualizationNU/PairwisePlot.vue'

describe('PairwisePlot.vue', () => {
let wrapper
beforeEach(() => {
wrapper = createWrapper(PairwisePlot, {}, true)
}
)
// describe('PairwisePlot.vue', () => {
// let wrapper
// beforeEach(() => {
// wrapper = createWrapper(PairwisePlot, {}, true)
// }
// )

enableAutoDestroy(afterEach)
// enableAutoDestroy(afterEach)

it('mount component correctly', () => {
expect(wrapper.find('.metamine_pairwise-header').text()).toBe('Material Data Explorer (Pairwise)')
expect(wrapper.find('.pairwise-plot-chart')).toBe(true)
expect(wrapper.find('.pairwise-plot-subcharts')).toBe(true)
expect(wrapper.find('.pairwise-plot-side-tools')).toBe(true)
})

})
// it('mount component correctly', () => {
// expect(wrapper.find('.metamine_pairwise-header').text()).toBe('Material Data Explorer (Pairwise)')
// expect(wrapper.find('.pairwise-plot-chart')).toBe(true)
// expect(wrapper.find('.pairwise-plot-subcharts')).toBe(true)
// expect(wrapper.find('.pairwise-plot-side-tools')).toBe(true)
// })
// })

0 comments on commit ae5cdf9

Please sign in to comment.