forked from SolidOS/solid-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.test.ts
More file actions
41 lines (39 loc) · 828 Bytes
/
Copy pathindex.test.ts
File metadata and controls
41 lines (39 loc) · 828 Bytes
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
import { silenceDebugMessages } from './helpers/debugger'
import * as Index from '../../src/index'
silenceDebugMessages()
describe('Index', () => {
it('exists', () => {
expect(Object.keys(Index).sort()).toEqual([
'acl',
'aclControl',
'authn',
'create',
'createTypes',
'dom',
'icons',
'infiniteMessageArea',
'initFooter',
'initHeader',
'language',
'log',
'login',
'matrix',
'media',
'messageArea',
'ns',
'pad',
'participation',
'preferences',
'rdf',
'store',
'style',
'table',
'tabs',
'utils',
'versionInfo',
'widgets'
])
})
// make sure none of them are undefined:
Object.keys(Index).forEach(key => expect(Index[key] && key).toEqual(key))
})