import * as React from 'react';
import {SIZE, ALIGNMENT} from './ContentBoxConstants';
import ContentBoxActions from './ContentBoxActions';
import {render} from '@testing-library/react';
describe('', () => {
it('renders', () => {
const testBox = render(test);
expect(
// @ts-ignore TS18047
testBox.container.firstElementChild.classList.contains(
'sg-content-box__actions'
)
).toEqual(true);
});
it('has class that aligns elements to center', () => {
const testBox = render(
test
);
expect(
// @ts-ignore TS18047
testBox.container.firstElementChild.classList.contains(
'sg-content-box__actions--with-centered-elements'
)
).toEqual(true);
});
it('has class that aligns elements to right', () => {
const testBox = render(
test
);
expect(
// @ts-ignore TS18047
testBox.container.firstElementChild.classList.contains(
'sg-content-box__actions--with-elements-to-right'
)
).toEqual(true);
});
it('has spacedTop class with proper size', () => {
const testBox = render(
test
);
expect(
// @ts-ignore TS18047
testBox.container.firstElementChild.classList.contains(
'sg-content-box__actions--spaced-top-xsmall'
)
).toEqual(true);
});
it('has spacedBottom class with proper size', () => {
const testBox = render(
test
);
expect(
// @ts-ignore TS18047
testBox.container.firstElementChild.classList.contains(
'sg-content-box__actions--spaced-bottom-xsmall'
)
).toEqual(true);
});
});