Total Complexity | 4 |
Complexity/F | 1 |
Lines of Code | 14 |
Function Count | 4 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | const sarcasm = require('../src/index').sarcasm |
||
2 | describe('sarcasm', () => { |
||
3 | it('should return something', () => { |
||
4 | expect(sarcasm()).toBeDefined() |
||
5 | }) |
||
6 | |||
7 | it('should return string', () => { |
||
8 | expect(typeof sarcasm()).toBe('string') |
||
9 | }) |
||
10 | |||
11 | it('should return sarcastic line', () => { |
||
12 | expect(sarcasm()).toBe('This is great project') |
||
13 | }) |
||
14 | }) |
||
15 |