forked from SolidOS/solid-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlog.test.ts
More file actions
89 lines (80 loc) · 1.85 KB
/
Copy pathlog.test.ts
File metadata and controls
89 lines (80 loc) · 1.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
import Logger from '../../src/log'
jest.mock('rdflib')
jest.mock('solid-auth-client')
describe('Logger', () => {
it('exists', () => {
expect(Logger).toBeInstanceOf(Object)
})
})
describe('Logger.msg', () => {
it('exists', () => {
expect(Logger.msg).toBeInstanceOf(Function)
})
it('runs', () => {
expect(Logger.msg('')).toEqual(undefined)
})
})
describe('Logger.warn', () => {
it('exists', () => {
expect(Logger.warn).toBeInstanceOf(Function)
})
it('runs', () => {
expect(Logger.warn('')).toEqual(undefined)
})
})
describe('Logger.debug', () => {
it('exists', () => {
expect(Logger.debug).toBeInstanceOf(Function)
})
it('runs', () => {
expect(Logger.debug('')).toEqual(undefined)
})
})
describe('Logger.info', () => {
it('exists', () => {
expect(Logger.info).toBeInstanceOf(Function)
})
it('runs', () => {
expect(Logger.info('')).toEqual(undefined)
})
})
describe('Logger.error', () => {
it('exists', () => {
expect(Logger.error).toBeInstanceOf(Function)
})
it('runs', () => {
expect(Logger.error('')).toEqual(undefined)
})
})
describe('Logger.success', () => {
it('exists', () => {
expect(Logger.success).toBeInstanceOf(Function)
})
it('runs', () => {
expect(Logger.success('')).toEqual(undefined)
})
})
describe('Logger.clear', () => {
it('exists', () => {
expect(Logger.clear).toBeInstanceOf(Function)
})
it('runs', () => {
expect(Logger.clear()).toEqual(undefined)
})
})
describe('Logger.setLevel', () => {
it('exists', () => {
expect(Logger.setLevel).toBeInstanceOf(Function)
})
it('runs', () => {
expect(Logger.setLevel('')).toEqual(undefined)
})
})
describe('Logger.dumpHTML', () => {
it('exists', () => {
expect(Logger.dumpHTML).toBeInstanceOf(Function)
})
it('runs', () => {
expect(Logger.dumpHTML()).toEqual(undefined)
})
})