queueobj 10.1.3 → 10.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/test/app.js +71 -1
- package/test/package.js +3 -3
package/package.json
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"author": {
|
|
3
3
|
"name": "Jim Manton"
|
|
4
4
|
},
|
|
5
|
-
"version": "10.
|
|
5
|
+
"version": "10.2.0",
|
|
6
6
|
"bundleDependencies": false,
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"chai": "^4.3.
|
|
8
|
+
"chai": "^4.3.7",
|
|
9
9
|
"colors": "^1.4.0",
|
|
10
10
|
"diffler": "^2.0.4",
|
|
11
|
-
"mocha": "^10.
|
|
11
|
+
"mocha": "^10.2.0"
|
|
12
12
|
},
|
|
13
13
|
"scripts": {
|
|
14
14
|
"start": "node app.ts",
|
package/test/app.js
CHANGED
|
@@ -3,7 +3,7 @@ var assert = require('assert');
|
|
|
3
3
|
describe('app', function () {
|
|
4
4
|
|
|
5
5
|
describe('require', function () {
|
|
6
|
-
it('colors', function () {
|
|
6
|
+
it('colors app', function () {
|
|
7
7
|
try {
|
|
8
8
|
colors = require('colors')
|
|
9
9
|
if (typeof colors == 'undefined') {
|
|
@@ -13,5 +13,75 @@ describe('app', function () {
|
|
|
13
13
|
assert(false)
|
|
14
14
|
}
|
|
15
15
|
})
|
|
16
|
+
it('all appender', function () {
|
|
17
|
+
try {
|
|
18
|
+
all = require('../lib/appenders/all')
|
|
19
|
+
if (typeof all == 'undefined') {
|
|
20
|
+
throw new Error('no all appender')
|
|
21
|
+
}
|
|
22
|
+
} catch (e) {
|
|
23
|
+
assert(false)
|
|
24
|
+
}
|
|
25
|
+
})
|
|
26
|
+
it('func_all appender', function () {
|
|
27
|
+
try {
|
|
28
|
+
func_all = require('../lib/appenders/func_all')
|
|
29
|
+
if (typeof func_all == 'undefined') {
|
|
30
|
+
throw new Error('no func_all')
|
|
31
|
+
}
|
|
32
|
+
} catch (e) {
|
|
33
|
+
assert(false)
|
|
34
|
+
}
|
|
35
|
+
})
|
|
36
|
+
it('top_one appender', function () {
|
|
37
|
+
try {
|
|
38
|
+
top_one = require('../lib/appenders/top_one')
|
|
39
|
+
if (typeof top_one == 'undefined') {
|
|
40
|
+
throw new Error('no top_one')
|
|
41
|
+
}
|
|
42
|
+
} catch (e) {
|
|
43
|
+
assert(false)
|
|
44
|
+
}
|
|
45
|
+
})
|
|
46
|
+
it('bottom_one appender', function () {
|
|
47
|
+
try {
|
|
48
|
+
bottom_one = require('../lib/appenders/bottom_one')
|
|
49
|
+
if (typeof bottom_one == 'undefined') {
|
|
50
|
+
throw new Error('no bottom_one')
|
|
51
|
+
}
|
|
52
|
+
} catch (e) {
|
|
53
|
+
assert(false)
|
|
54
|
+
}
|
|
55
|
+
})
|
|
56
|
+
it('sync_all appender', function () {
|
|
57
|
+
try {
|
|
58
|
+
sync_all = require('../lib/appenders/sync_all')
|
|
59
|
+
if (typeof sync_all == 'undefined') {
|
|
60
|
+
throw new Error('no sync_all')
|
|
61
|
+
}
|
|
62
|
+
} catch (e) {
|
|
63
|
+
assert(false)
|
|
64
|
+
}
|
|
65
|
+
})
|
|
66
|
+
it('status appender', function () {
|
|
67
|
+
try {
|
|
68
|
+
statuss = require('../lib/appenders/status')
|
|
69
|
+
if (typeof statuss == 'undefined') {
|
|
70
|
+
throw new Error('no status')
|
|
71
|
+
}
|
|
72
|
+
} catch (e) {
|
|
73
|
+
assert(false)
|
|
74
|
+
}
|
|
75
|
+
})
|
|
76
|
+
it('version appender', function () {
|
|
77
|
+
try {
|
|
78
|
+
version = require('../lib/appenders/version')
|
|
79
|
+
if (typeof version == 'undefined') {
|
|
80
|
+
throw new Error('no version')
|
|
81
|
+
}
|
|
82
|
+
} catch (e) {
|
|
83
|
+
assert(false)
|
|
84
|
+
}
|
|
85
|
+
})
|
|
16
86
|
})
|
|
17
87
|
})
|
package/test/package.js
CHANGED
|
@@ -6,13 +6,13 @@ const packageMock = {
|
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Jim Manton"
|
|
8
8
|
},
|
|
9
|
-
"version": "10.
|
|
9
|
+
"version": "10.2.0",
|
|
10
10
|
"bundleDependencies": false,
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"chai": "^4.3.
|
|
12
|
+
"chai": "^4.3.7",
|
|
13
13
|
"colors": "^1.4.0",
|
|
14
14
|
"diffler": "^2.0.4",
|
|
15
|
-
"mocha": "^10.
|
|
15
|
+
"mocha": "^10.2.0"
|
|
16
16
|
},
|
|
17
17
|
"scripts": {
|
|
18
18
|
"start": "node app.ts",
|