File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 15
15
* limitations under the License.
16
16
*/
17
17
18
+ import { registerFirestore } from '../register' ;
19
+ registerFirestore ( ) ;
18
20
/**
19
21
* This will include all of the test files and compile them as needed
20
22
*
24
26
25
27
// 'context()' definition requires additional dependency on webpack-env package.
26
28
// eslint-disable-next-line @typescript-eslint/no-explicit-any
27
- const integrationTestContext = ( require as any ) . context (
29
+ const testsContext = ( require as any ) . context (
28
30
'../../test/integration/api' ,
29
31
true ,
30
32
/ ^ .* \. t e s t \. t s $ /
31
33
) ;
32
- const integrationTests = integrationTestContext . keys ( ) ;
33
- integrationTests . forEach ( integrationTestContext ) ;
34
+ const browserTests = testsContext . keys ( ) ;
35
+ browserTests . forEach ( testsContext ) ;
Original file line number Diff line number Diff line change 24
24
25
25
// 'context()' definition requires additional dependency on webpack-env package.
26
26
// eslint-disable-next-line @typescript-eslint/no-explicit-any
27
- const unitTestsContext = ( require as any ) . context (
27
+ const testsContext = ( require as any ) . context (
28
28
'.' ,
29
29
true ,
30
30
/ ^ ( (? ! n o d e ) .) * \. t e s t $ /
31
31
) ;
32
- const unitTests = unitTestsContext
32
+ const browserTests = testsContext
33
33
. keys ( )
34
34
. filter ( ( file : string ) => ! file . match ( / ( [ \/ . ] ) n o d e ( [ \/ . ] ) / ) ) ;
35
- unitTests . forEach ( unitTestsContext ) ;
35
+ browserTests . forEach ( testsContext ) ;
You can’t perform that action at this time.
0 commit comments