File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff 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});
You can’t perform that action at this time.
0 commit comments