Skip to content

Commit 7f911b5

Browse files
committed
*FIX* Readme: Updated unit test examples.
1 parent 15e04c1 commit 7f911b5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -186,14 +186,14 @@ and same test for both architectures:
186186
```js
187187
'use strict';
188188

189-
describe('BarActionCreators', function() {
190-
var action;
189+
describe('BarActionCreators', () => {
190+
let action;
191191

192192
beforeEach(function() {
193193
action = require('actions/BarActionCreators.js');
194194
});
195195

196-
it('should be defined', function() {
196+
it('should be defined', () => {
197197
expect(action).toBeDefined();
198198
});
199199
});
@@ -252,14 +252,14 @@ and same test for both architectures:
252252
```js
253253
'use strict';
254254

255-
describe('BazStore', function() {
256-
var store;
255+
describe('BazStore', () => {
256+
let store;
257257

258-
beforeEach(function() {
258+
beforeEach(() => {
259259
store = require('stores/BazStore.js');
260260
});
261261

262-
it('should be defined', function() {
262+
it('should be defined', () => {
263263
expect(store).toBeDefined();
264264
});
265265
});

0 commit comments

Comments
 (0)