Total Complexity | 2 |
Complexity/F | 1 |
Lines of Code | 13 |
Function Count | 2 |
Duplicated Lines | 0 |
Ratio | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | "use strict"; |
||
2 | |||
3 | 1 | const mocha = require('mocha'); |
|
4 | 1 | const assert = require("assert"); |
|
5 | |||
6 | |||
7 | 1 | mocha.describe("Check 2+2", function() { |
|
8 | 1 | mocha.it("it should be 4", function() { |
|
9 | 1 | let res = 2+2; |
|
10 | |||
11 | 1 | assert.equal(res, 4); |
|
12 | }); |
||
13 | }); |
||
14 |