File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -132,20 +132,20 @@ jest.mock('popper.js', () => {
132
132
} ;
133
133
} ) ;
134
134
135
- // We generally use actual jQuery, and jest mocks takes precedence over node_modules
135
+ // We generally use actual jQuery, and jest mocks takes precedence over node_modules.
136
136
jest . unmock ( 'jquery' ) ;
137
137
138
138
/**
139
139
* Test Globals
140
140
*/
141
141
142
- // This is so we can use async/await in tests instead of wrapping with `setTimeout`
142
+ // This is so we can use async/await in tests instead of wrapping with `setTimeout`.
143
143
window . tick = ( ) => new Promise ( resolve => setTimeout ( resolve ) ) ;
144
144
145
145
window . $ = window . jQuery = jQuery ;
146
146
window . scrollTo = jest . fn ( ) ;
147
147
148
- // this is very commonly used, so expose it globally
148
+ // This is very commonly used, so expose it globally.
149
149
window . MockApiClient = require . requireMock ( 'app/api' ) . Client ;
150
150
151
151
window . TestStubs = {
You can’t perform that action at this time.
0 commit comments