Skip to content

Commit e3ac3c2

Browse files
committed
improving coverage
1 parent 66d2916 commit e3ac3c2

File tree

7 files changed

+4
-116
lines changed

7 files changed

+4
-116
lines changed

.codeclimate.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11

22
engines:
3-
duplication:
4-
enabled: true
5-
config:
6-
languages:
7-
- javascript:
83
eslint:
94
enabled: true
105
fixme:

_tmp/test4.js

Lines changed: 0 additions & 46 deletions
This file was deleted.

_tmp/test5.js

Lines changed: 0 additions & 36 deletions
This file was deleted.

_tmp/test6.js

Lines changed: 0 additions & 29 deletions
This file was deleted.

jSQL.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ function jSQL_Error(error_no) {
1616
this.stack = undefined;
1717
var e = new Error();
1818
if(e.stack) this.stack = e.stack;
19+
/* istanbul ignore next */
1920
switch(error_no){
2021
case "0001": this.message = "Corrupted function stored in data."; break;
2122
case "0002": this.message = "Attempted to apply a non-function as an error handler."; break;
@@ -2399,6 +2400,7 @@ var API = {
23992400
};
24002401

24012402

2403+
/* istanbul ignore next */
24022404
var persistenceManager = new (function(){
24032405
var self = this;
24042406
self.api = null;

src/error_handling/jSQL_Error.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ function jSQL_Error(error_no) {
44
this.stack = undefined;
55
var e = new Error();
66
if(e.stack) this.stack = e.stack;
7+
/* istanbul ignore next */
78
switch(error_no){
89
case "0001": this.message = "Corrupted function stored in data."; break;
910
case "0002": this.message = "Attempted to apply a non-function as an error handler."; break;

src/persistence/persistenceManager.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11

2+
/* istanbul ignore next */
23
var persistenceManager = new (function(){
34
var self = this;
45
self.api = null;

0 commit comments

Comments
 (0)