Added tests for helpers and components. All react components are now ES5.
This commit is contained in:
10
tests/helpers/in_array.spec.js
Normal file
10
tests/helpers/in_array.spec.js
Normal file
@@ -0,0 +1,10 @@
|
||||
var chai = require('chai');
|
||||
var expect = chai.expect;
|
||||
|
||||
import in_array from '../../assets/js/helpers/in_array';
|
||||
|
||||
describe('in_array', function() {
|
||||
it('should be a function', function() {
|
||||
expect(in_array).to.be.a('function');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user