*FIX* Readme: Updated unit test examples.

This commit is contained in:
Chris
2015-07-01 09:10:32 +02:00
parent 15e04c14de
commit 7f911b54f1
+7 -7
View File
@@ -186,14 +186,14 @@ and same test for both architectures:
```js
'use strict';
describe('BarActionCreators', function() {
var action;
describe('BarActionCreators', () => {
let action;
beforeEach(function() {
action = require('actions/BarActionCreators.js');
});
it('should be defined', function() {
it('should be defined', () => {
expect(action).toBeDefined();
});
});
@@ -252,14 +252,14 @@ and same test for both architectures:
```js
'use strict';
describe('BazStore', function() {
var store;
describe('BazStore', () => {
let store;
beforeEach(function() {
beforeEach(() => {
store = require('stores/BazStore.js');
});
it('should be defined', function() {
it('should be defined', () => {
expect(store).toBeDefined();
});
});