File tree Expand file tree Collapse file tree 2 files changed +9
-11
lines changed
firestore/test/integration/api Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ import {
32
32
33
33
// Since most of our tests are "synchronous" but require a Firestore instance,
34
34
// we have a helper wrapper around it() and withTestDb() to optimize for that.
35
- const validationIt : any = function (
35
+ const validationIt : any = function (
36
36
persistence : boolean ,
37
37
message : string ,
38
38
testFunction : ( db : firestore . FirebaseFirestore ) => void | Promise < any >
@@ -48,17 +48,17 @@ const validationIt : any = function(
48
48
} ;
49
49
50
50
validationIt . skip = function (
51
- persistence : boolean ,
52
- message : string ,
53
- _ : ( db : firestore . FirebaseFirestore ) => void | Promise < any >
51
+ persistence : boolean ,
52
+ message : string ,
53
+ _ : ( db : firestore . FirebaseFirestore ) => void | Promise < any >
54
54
) {
55
55
it . skip ( message , ( ) => { } ) ;
56
56
} ;
57
57
58
- validationIt . only = function (
59
- persistence : boolean ,
60
- message : string ,
61
- testFunction : ( db : firestore . FirebaseFirestore ) => void | Promise < any >
58
+ validationIt . only = function (
59
+ persistence : boolean ,
60
+ message : string ,
61
+ testFunction : ( db : firestore . FirebaseFirestore ) => void | Promise < any >
62
62
) {
63
63
it . only ( message , ( ) => {
64
64
return withTestDb ( persistence , async db => {
Original file line number Diff line number Diff line change @@ -30,7 +30,5 @@ const __global = (() => {
30
30
// Polyfill Promise
31
31
if ( typeof Promise === 'undefined' ) {
32
32
// HACK: TS throws an error if I attempt to use 'dot-notation'
33
- __global [
34
- 'Promise'
35
- ] = require ( 'promise-polyfill' ) as PromiseConstructor ;
33
+ __global [ 'Promise' ] = require ( 'promise-polyfill' ) as PromiseConstructor ;
36
34
}
You can’t perform that action at this time.
0 commit comments