mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
SplitterPanel and InlineMessage class name convensions
This commit is contained in:
parent
c5ebd68b74
commit
c629ca8f51
8 changed files with 36 additions and 36 deletions
|
@ -28,13 +28,13 @@ describe('Splitter.vue', () => {
|
|||
it('should exist', () => {
|
||||
expect(wrapper.find('.p-splitter.p-component').exists()).toBe(true);
|
||||
expect(wrapper.find('.p-splitter').classes()).toContain('p-splitter-horizontal');
|
||||
expect(wrapper.findAll('.p-splitter-panel').length).toBe(2);
|
||||
expect(wrapper.findAll('.p-splitterpanel').length).toBe(2);
|
||||
expect(wrapper.find('.p-splitter-gutter-handle').exists()).toBe(true);
|
||||
});
|
||||
|
||||
it('should mousedown', async () => {
|
||||
const gutter = wrapper.find('.p-splitter-gutter-handle').element;
|
||||
const siblings = wrapper.findAll('.p-splitter-panel');
|
||||
const siblings = wrapper.findAll('.p-splitterpanel');
|
||||
|
||||
await wrapper.vm.onGutterMouseDown({ currentTarget: { gutter, previousElementSibling: siblings[0].element, nextElementSibling: siblings[1].element }, pageX: 123 }, 0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue