/**
* @jest-environment node
*/
import React from 'react';
import { renderToStaticMarkup, renderToString } from 'react-dom/server';
import Style from '../style';
describe('', () => {
it('should render style as children on the server', () => {
const result = renderToStaticMarkup();
expect(result).toInclude('');
});
it('should render style as children on the server with nonce', () => {
const result = renderToStaticMarkup();
expect(result).toInclude(
''
);
});
it('should not output html comments', () => {
const result = renderToString(
);
expect(result).not.toContain('