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