Total Complexity | 2 |
Complexity/F | 1 |
Lines of Code | 21 |
Function Count | 2 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | var chai = require('chai'); |
||
2 | var path = require('path'); |
||
3 | |||
4 | var config = require('../src/cli').config |
||
5 | config.set({root: path.join(__dirname, 'fixtures')}) |
||
6 | |||
7 | import locale from '../src/server/helpers/abe-locale' |
||
8 | |||
9 | describe('locale', function() { |
||
10 | |||
11 | /** |
||
12 | * locale |
||
13 | * |
||
14 | */ |
||
15 | it('locale', function() { |
||
16 | chai.expect(locale).to.have.property('word') |
||
17 | chai.expect(locale.word).to.be.a('string') |
||
18 | chai.expect(locale.word).to.equal('a word') |
||
19 | }); |
||
20 | |||
21 | }); |
||
22 |