Skip to content

Commit

Permalink
m
Browse files Browse the repository at this point in the history
  • Loading branch information
piglovesyou committed Sep 4, 2018
1 parent 5ef8174 commit bc9958a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docs/testing-your-application.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@

RSK comes with the following libraries for testing purposes:

* [Mocha](https://mochajs.org/) - Node.js and browser test runner
* [Chai](http://chaijs.com/) - Assertion library
* [Jest](https://facebook.github.io/jest/) - JavaScript testing library
* [Enzyme](https://github.com/airbnb/enzyme) - Testing utilities for React

You may also want to take a look at the following related packages:
Expand All @@ -20,7 +19,6 @@ To test your application simply run the
command which will:

* recursively find all files ending with `.test.js` in your `src/` directory
* mocha execute found files

```bash
yarn test
Expand All @@ -47,7 +45,7 @@ import App from '../App';
import Layout from './Layout';

describe('Layout', () => {
it('renders children correctly', () => {
test('renders children correctly', () => {
const wrapper = shallow(
<App context={{ insertCss: () => {} }}>
<Layout>
Expand Down Expand Up @@ -75,7 +73,7 @@ import IntlProvider from 'react-intl';
import Navigation from '../../components/Navigation';

describe('A test suite for <Header />', () => {
it('should contain a <Navigation/> component', () => {
test('should contain a <Navigation/> component', () => {
it('rendering', () => {
const wrapper = renderIntoDocument(
<IntlProvider locale="en">
Expand Down

0 comments on commit bc9958a

Please sign in to comment.