mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-16 09:10:33 +03:00
build(vite): replace webpack with Vite, add Typescript (#1594)
BREAKING: mixins are no longer exported from the index (and will likely be converted to hooks)
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
import { it, describe, expect } from 'vitest'
|
||||
import { mount, shallowMount } from '@vue/test-utils'
|
||||
import VueSelect from '../../src/components/Select'
|
||||
import { mountDefault } from '../helpers.js'
|
||||
import VueSelect from '@/components/Select.vue'
|
||||
import { mountDefault } from '@tests/helpers.js'
|
||||
|
||||
describe('When reduce prop is defined', () => {
|
||||
it('determines when a reducer has been supplied', async () => {
|
||||
let Select = mountDefault()
|
||||
const Select = mountDefault()
|
||||
expect(Select.vm.isReducingValues).toBeFalsy()
|
||||
|
||||
await Select.setProps({ reduce: () => {} })
|
||||
|
||||
Reference in New Issue
Block a user