import React from 'react';
import renderer from 'react-test-renderer';
import 'jest-styled-components';
import { Cns } from '../cns';
import Theme from '@mocks/theme';
// services = [],
// hostnames = [],
// disabled = false,
// loading = false,
// mutationError = false,
// loadingError = null
it('renders without throwing', () => {
expect(
renderer
.create(
)
.toJSON()
).toMatchSnapshot();
});
it('renders without throwing', () => {
expect(
renderer
.create(
)
.toJSON()
).toMatchSnapshot();
});
it('renders without throwing', () => {
expect(
renderer
.create(
)
.toJSON()
).toMatchSnapshot();
});
it('renders without throwing', () => {
expect(
renderer
.create(
)
.toJSON()
).toMatchSnapshot();
});
it('renders without throwing', () => {
const services = ['serbice', 'dssasda', 'dsasd'];
const hostnames = [
{
values: ['stuffy-stuff'],
public: true
},
{
values: ['stuffy-stuff']
},
{
values: ['serbice', 'dssasda', 'dsasd'],
public: true,
service: true
},
{
values: ['serbice', 'dssasda', 'dsasd'],
service: true
}
];
expect(
renderer
.create(
)
.toJSON()
).toMatchSnapshot();
});
it('renders without throwing', () => {
const services = ['serbice', 'dssasda', 'dsasd'];
const hostnames = [
{
values: ['stuffy-stuff'],
public: true
},
{
values: ['stuffy-stuff']
},
{
values: ['serbice', 'dssasda', 'dsasd'],
public: true,
service: true
},
{
values: ['serbice', 'dssasda', 'dsasd'],
service: true
}
];
expect(
renderer
.create(
)
.toJSON()
).toMatchSnapshot();
});
it('renders without throwing', () => {
const services = ['serbice', 'dssasda', 'dsasd'];
expect(
renderer
.create(
)
.toJSON()
).toMatchSnapshot();
});
it('renders without throwing', () => {
const hostnames = [
{
values: ['stuffy-stuff'],
public: true
},
{
values: ['stuffy-stuff']
},
{
values: ['serbice', 'dssasda', 'dsasd'],
public: true,
service: true
},
{
values: ['serbice', 'dssasda', 'dsasd'],
service: true
}
];
expect(
renderer
.create(
)
.toJSON()
).toMatchSnapshot();
});
it('renders without throwing', () => {
const services = ['serbice', 'dssasda', 'dsasd'];
const hostnames = [
{
values: ['stuffy-stuff'],
public: true
},
{
values: ['stuffy-stuff']
},
{
values: ['serbice', 'dssasda', 'dsasd'],
public: true,
service: true
},
{
values: ['serbice', 'dssasda', 'dsasd'],
service: true
}
];
expect(
renderer
.create(
)
.toJSON()
).toMatchSnapshot();
});