Skip to content

Commit

Permalink
add basic tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaslagoni committed Aug 17, 2023
1 parent d214e3f commit 8053bed
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions cypress/test/Asyncapi3Comparison.cy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
import { mount } from '@cypress/react'
import {Asyncapi3Comparison, Asyncapi3ChannelComparison, Asyncapi3IdAndAddressComparison, Asyncapi3MetaComparison, Asyncapi3OperationComparison, Asyncapi3SchemaFormatComparison, Asyncapi3ServerComparison} from '../../components/Asyncapi3Comparison'

describe('Asyncapi3Comparison.cy', () => {
describe('Asyncapi3Comparison', () => {
it('renders without errors', () => {
mount(<Asyncapi3Comparison />);
});
});
describe('Asyncapi3ChannelComparison', () => {
it('renders without errors', () => {
mount(<Asyncapi3ChannelComparison />);
});
});
describe('Asyncapi3IdAndAddressComparison', () => {
it('renders without errors', () => {
mount(<Asyncapi3IdAndAddressComparison />);
});
});
describe('Asyncapi3MetaComparison', () => {
it('renders without errors', () => {
mount(<Asyncapi3MetaComparison />);
});
});
describe('Asyncapi3OperationComparison', () => {
it('renders without errors', () => {
mount(<Asyncapi3OperationComparison />);
});
});
describe('Asyncapi3SchemaFormatComparison', () => {
it('renders without errors', () => {
mount(<Asyncapi3SchemaFormatComparison />);
});
});
describe('Asyncapi3ServerComparison', () => {
it('renders without errors', () => {
mount(<Asyncapi3ServerComparison />);
});
});
});

0 comments on commit 8053bed

Please sign in to comment.