import * as React from 'react';
import {createDriverFactory} from 'wix-ui-test-utils/driver-factory';
import {isEnzymeTestkitExists} from 'wix-ui-test-utils/enzyme';
import {isTestkitExists} from 'wix-ui-test-utils/vanilla';
import {mount} from 'enzyme';
import {fullTextViewDriverFactory} from './FullTextView.driver';
import {fullTextViewUniDriverFactory} from './FullTextView.uni.driver';
import {FullTextView} from './FullTextView';
import {fullTextViewTestkitFactory} from '../../testkit';
import {fullTextViewTestkitFactory as enzymeFullTextViewTestkitFactory} from '../../testkit/enzyme';
import {createUniDriverFactory} from 'wix-ui-test-utils/dist/src/uni-driver-factory';
describe('FullTextView', () => {
describe('[sync]', () => {
runTests(createDriverFactory(fullTextViewDriverFactory));
});
describe('[async]', () => {
runTests(createUniDriverFactory(fullTextViewUniDriverFactory));
});
function runTests(createDriver) {
it('should render a span tag by default', async () => {
const wrapper = createDriver(