File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import * as DragAndDrop from '../../../src/widgets/dragAndDrop'
2+ import * as Error from '../../../src/widgets/error'
3+ import * as Buttons from '../../../src/widgets/buttons'
4+ import * as Forms from '../../../src/widgets/forms'
5+ import * as PeoplePicker from '../../../src/widgets/peoplePicker'
6+ import * as Index from '../../../src/widgets/index'
7+
8+ describe ( 'index' , ( ) => {
9+ it ( 'contains all exports from DragAndDrop' , ( ) => {
10+ for ( let k in DragAndDrop ) {
11+ if ( k !== 'default' ) {
12+ expect ( Index [ k ] ) . toEqual ( DragAndDrop [ k ] )
13+ }
14+ }
15+ } )
16+ it ( 'contains all exports from Error' , ( ) => {
17+ for ( let k in Error ) {
18+ if ( k !== 'default' ) {
19+ expect ( Index [ k ] ) . toEqual ( Error [ k ] )
20+ }
21+ }
22+ } )
23+ it ( 'contains all exports from Buttons' , ( ) => {
24+ for ( let k in Buttons ) {
25+ if ( k !== 'default' ) {
26+ expect ( Index [ k ] ) . toEqual ( Buttons [ k ] )
27+ }
28+ }
29+ } )
30+ it ( 'contains all exports from Forms' , ( ) => {
31+ for ( let k in Forms ) {
32+ if ( k !== 'default' ) {
33+ expect ( Index [ k ] ) . toEqual ( Forms [ k ] )
34+ }
35+ }
36+ } )
37+ it ( 'contains all exports from PeoplePicker' , ( ) => {
38+ for ( let k in PeoplePicker ) {
39+ if ( k !== 'default' ) {
40+ expect ( Index [ k ] ) . toEqual ( PeoplePicker [ k ] )
41+ }
42+ }
43+ } )
44+ } )
You can’t perform that action at this time.
0 commit comments