Permalink
Browse files

Port test to `function` style

If I remember right, this is the Mocha recommendation.
  • Loading branch information...
1 parent b66ee16 commit 7494ca2ebc34675f9174a6bd88514bd615f46f60 @bebraw bebraw committed May 30, 2016
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/demo_test.js
View
@@ -1,7 +1,7 @@
import assert from 'assert';
-describe('add', () => {
- it('adds', () => {
+describe('add', function() {
+ it('adds', function() {
assert.equal(1 + 1, 2);
});
});

0 comments on commit 7494ca2

Please sign in to comment.