Skip to content

Commit 8f195af

Browse files
committed
Update utilites.class.test.js add unit-test for LoggerType
1 parent e391ee8 commit 8f195af

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

test/lib/utilites.class.test.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,16 @@ test('Logger test', () => {
6767

6868
test('LoggerType.empty', () => {
6969
expect(LoggerType.empty).toStrictEqual("")
70+
})
71+
72+
test('LoggerType.info', () => {
73+
expect(LoggerType.info).toStrictEqual("Info")
74+
})
75+
76+
test('LoggerType.warning', () => {
77+
expect(LoggerType.warning).toStrictEqual("Warning")
78+
})
79+
80+
test('LoggerType.error', () => {
81+
expect(LoggerType.error).toStrictEqual("Error")
7082
})

0 commit comments

Comments
 (0)