Skip to content

Commit 1684f17

Browse files
committed
revert prettier
1 parent 0f3baba commit 1684f17

File tree

3 files changed

+5
-51
lines changed

3 files changed

+5
-51
lines changed

packages/firestore/exp/src/api/components.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import {
2323
OfflineComponentProvider,
2424
OnlineComponentProvider
2525
} from '../../../src/core/component_provider';
26-
import {handleUserChange, LocalStore} from '../../../src/local/local_store';
26+
import { handleUserChange, LocalStore } from '../../../src/local/local_store';
2727
import { Deferred } from '../../../src/util/promise';
2828
import { logDebug } from '../../../src/util/log';
2929
import { SyncEngine } from '../../../src/core/sync_engine';

packages/firestore/exp/src/api/database.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ const LOG_TAG = 'Firestore';
6969
* The root reference to the Firestore database and the entry point for the
7070
* tree-shakeable SDK.
7171
*/
72-
export class Firestore extends LiteFirestore
72+
export class Firestore
73+
extends LiteFirestore
7374
implements firestore.FirebaseFirestore, _FirebaseService {
7475
readonly _queue = new AsyncQueue();
7576
readonly _persistenceKey: string;
+2-49
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
'use strict';
1+
"use strict";
22
/**
33
* @license
44
* Copyright 2020 Google LLC
@@ -14,51 +14,4 @@
1414
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1515
* See the License for the specific language governing permissions and
1616
* limitations under the License.
17-
*/ exports.__esModule = true;
18-
var yargs = require('yargs');
19-
var path_1 = require('path');
20-
var child_process_promise_1 = require('child-process-promise');
21-
var argv = yargs.options({
22-
main: { type: 'string', demandOption: true },
23-
platform: { type: 'string', default: 'node' },
24-
emulator: { type: 'boolean' },
25-
persistence: { type: 'boolean' }
26-
}).argv;
27-
var nyc = path_1.resolve(__dirname, '../../../node_modules/.bin/nyc');
28-
var mocha = path_1.resolve(__dirname, '../../../node_modules/.bin/mocha');
29-
process.env.TS_NODE_CACHE = 'NO';
30-
process.env.TS_NODE_COMPILER_OPTIONS = '{"module":"commonjs"}';
31-
process.env.TEST_PLATFORM = argv.platform;
32-
var args = [
33-
'--reporter',
34-
'lcovonly',
35-
mocha,
36-
'--require',
37-
'ts-node/register',
38-
'--require',
39-
argv.main,
40-
'--config',
41-
'../../config/mocharc.node.js'
42-
];
43-
if (argv.emulator) {
44-
process.env.FIRESTORE_EMULATOR_PORT = '8080';
45-
process.env.FIRESTORE_EMULATOR_PROJECT_ID = 'test-emulator';
46-
}
47-
if (argv.persistence) {
48-
process.env.USE_MOCK_PERSISTENCE = 'YES';
49-
args.push('--require', 'test/util/node_persistence.ts');
50-
}
51-
args = args.concat(argv._);
52-
var childProcess = child_process_promise_1.spawn(nyc, args, {
53-
stdio: 'inherit',
54-
cwd: process.cwd()
55-
}).childProcess;
56-
process.once('exit', function () {
57-
return childProcess.kill();
58-
});
59-
process.once('SIGINT', function () {
60-
return childProcess.kill('SIGINT');
61-
});
62-
process.once('SIGTERM', function () {
63-
return childProcess.kill('SIGTERM');
64-
});
17+
*/exports.__esModule=true;var yargs=require("yargs");var path_1=require("path");var child_process_promise_1=require("child-process-promise");var argv=yargs.options({main:{type:"string",demandOption:true},platform:{type:"string",default:"node"},emulator:{type:"boolean"},persistence:{type:"boolean"}}).argv;var nyc=path_1.resolve(__dirname,"../../../node_modules/.bin/nyc");var mocha=path_1.resolve(__dirname,"../../../node_modules/.bin/mocha");process.env.TS_NODE_CACHE="NO";process.env.TS_NODE_COMPILER_OPTIONS='{"module":"commonjs"}';process.env.TEST_PLATFORM=argv.platform;var args=["--reporter","lcovonly",mocha,"--require","ts-node/register","--require",argv.main,"--config","../../config/mocharc.node.js"];if(argv.emulator){process.env.FIRESTORE_EMULATOR_PORT="8080";process.env.FIRESTORE_EMULATOR_PROJECT_ID="test-emulator"}if(argv.persistence){process.env.USE_MOCK_PERSISTENCE="YES";args.push("--require","test/util/node_persistence.ts")}args=args.concat(argv._);var childProcess=child_process_promise_1.spawn(nyc,args,{stdio:"inherit",cwd:process.cwd()}).childProcess;process.once("exit",(function(){return childProcess.kill()}));process.once("SIGINT",(function(){return childProcess.kill("SIGINT")}));process.once("SIGTERM",(function(){return childProcess.kill("SIGTERM")}));

0 commit comments

Comments
 (0)