Expanded basic tests for #2289

This commit is contained in:
Jaco Greeff
2016-12-08 13:00:29 +01:00
parent 543428fe5d
commit a5b5277a88
5 changed files with 119 additions and 5 deletions

View File

@@ -33,8 +33,8 @@ function renderMount (props) {
describe('ui/Container/Title', () => {
describe('rendering', () => {
it('renders without crashing', () => {
expect(renderShallow()).to.be.defined;
it('renders defaults', () => {
expect(renderShallow()).to.be.ok;
});
it('renders with the specified className', () => {

View File

@@ -17,7 +17,7 @@
import React from 'react';
import { shallow } from 'enzyme';
import Container from './title';
import Container from './container';
function renderShallow (props) {
return shallow(
@@ -27,8 +27,8 @@ function renderShallow (props) {
describe('ui/Container', () => {
describe('rendering', () => {
it('renders without crashing', () => {
expect(renderShallow()).to.be.defined;
it('renders defaults', () => {
expect(renderShallow()).to.be.ok;
});
it('renders with the specified className', () => {