File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ function identifyFactory(key, getGlobalData) {
23
23
} ;
24
24
}
25
25
26
- // Create the page() functino
26
+ // Create the page() function
27
27
function pageFactory ( key , getGlobalData ) {
28
28
return async ( name , data = { } ) => {
29
29
const { page } = await loadScript ( key ) ;
@@ -32,7 +32,7 @@ function pageFactory(key, getGlobalData) {
32
32
} ;
33
33
}
34
34
35
- // create the group() functino
35
+ // create the group() function
36
36
function groupFactory ( key , getGlobalData ) {
37
37
return async ( groupId , data ) => {
38
38
const { group } = await loadScript ( key ) ;
Original file line number Diff line number Diff line change @@ -42,12 +42,12 @@ describe('init', () => {
42
42
expect ( typeof result . identify ) . toEqual ( 'function' ) ;
43
43
} ) ;
44
44
45
- it ( 'should return an page function' , ( ) => {
45
+ it ( 'should return a page function' , ( ) => {
46
46
result = init ( KEY ) ;
47
47
expect ( typeof result . page ) . toEqual ( 'function' ) ;
48
48
} ) ;
49
49
50
- it ( 'should return an group function' , ( ) => {
50
+ it ( 'should return a group function' , ( ) => {
51
51
result = init ( KEY ) ;
52
52
expect ( typeof result . group ) . toEqual ( 'function' ) ;
53
53
} ) ;
You can’t perform that action at this time.
0 commit comments