Skip to content

Commit 7072718

Browse files
[AUTOMATED]: Prettier Code Styling
1 parent 756288b commit 7072718

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

packages/firestore/test/integration/api/validation.test.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import {
3232

3333
// Since most of our tests are "synchronous" but require a Firestore instance,
3434
// we have a helper wrapper around it() and withTestDb() to optimize for that.
35-
const validationIt : any = function(
35+
const validationIt: any = function(
3636
persistence: boolean,
3737
message: string,
3838
testFunction: (db: firestore.FirebaseFirestore) => void | Promise<any>
@@ -48,17 +48,17 @@ const validationIt : any = function(
4848
};
4949

5050
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>
5454
) {
5555
it.skip(message, () => {});
5656
};
5757

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>
6262
) {
6363
it.only(message, () => {
6464
return withTestDb(persistence, async db => {

packages/polyfill/src/polyfills/promise.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,5 @@ const __global = (() => {
3030
// Polyfill Promise
3131
if (typeof Promise === 'undefined') {
3232
// 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;
3634
}

0 commit comments

Comments
 (0)