text: import { shallowMount } from '@vue/test-utils';
  import TableCellBaseWrapper from '~/content_editor/components/wrappers/table_cell_base.vue';
  import TableCellHeaderWrapper from '~/content_editor/components/wrappers/table_cell_header.vue';
  import { createTestEditor } from '../../test_utils';
  
  describe('content/components/wrappers/table_cell_header', () => {
    let wrapper;
    let editor;
    let node;
  
    const createWrapper = async () => {
      wrapper = shallowMount(TableCellHeaderWrapper, {
        propsData: {
          editor,
          node,
        },
      });
    };
  
    beforeEach(() => {
      node = {};
      editor = createTestEditor({});
    });
  
    afterEach(() => {
      wrapper.destroy();
    });
  
    it('renders a TableCellBase component', () => {
      createWrapper();
      expect(wrapper.findComponent(TableCellBaseWrapper).props()).toEqual({
        editor,
        node,
        cellType: 'th',
      });
    });
  });
  