mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-23 07:52:22 +02:00
20 lines
492 B
JavaScript
20 lines
492 B
JavaScript
import { expect } from 'chai';
|
|
import WrappedInput from './wrapped-input';
|
|
import { DEFAULT_CLASSNAMES, DEFAULT_CONFIG } from '../constants';
|
|
|
|
describe('WrappedInput', () => {
|
|
let instance;
|
|
let choicesInstance;
|
|
let choicesElement;
|
|
|
|
beforeEach(() => {
|
|
choicesInstance = {
|
|
config: {
|
|
...DEFAULT_CONFIG,
|
|
},
|
|
};
|
|
choicesElement = document.createElement('input');
|
|
instance = new WrappedInput(choicesInstance, choicesElement, DEFAULT_CLASSNAMES);
|
|
});
|
|
});
|