GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Branch master (8f2e94)
by Joss
01:13
created

test/config.js   A

Complexity

Total Complexity 7
Complexity/F 1

Size

Lines of Code 23
Function Count 7

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 3
Bugs 1 Features 0
Metric Value
cc 0
nc 1
dl 0
loc 23
rs 10
c 3
b 1
f 0
wmc 7
mnd 0
bc 7
fnc 7
bpm 1
cpm 1
noi 1
1
'use strict';
2
3
var expect = require('expect.js');
4
var Config = require('../lib/config');
5
6
describe('Config', function() {
7
    describe('readFile', function() {
8
        it('should throw an error when configPath is not valid', function () {
9
            expect(function() {
10
                new Config('./config/unknown');
11
            }).to.throwError();
12
        });
13
    });
14
    describe('parseConfig', function() {
15
        var config = new Config('./config/tests');
16
        it('should set config.topRightPos', function () {
17
            expect(config.topRightPos).to.only.have.keys('x', 'y');
18
        });
19
        it('should set config.mowers', function () {
20
            expect(config.mowers).to.not.be.empty();
21
        });
22
    });
23
});