Skip to content

Commit 9e040c1

Browse files
Fix generate_spec_json script (firebase#3827)
1 parent 70fe239 commit 9e040c1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/firestore/test/unit/generate_spec_json.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ var fs = require('fs');
2929
var mkdirp = require('mkdirp');
3030

3131
const describeSpec = require('./specs/describe_spec');
32-
const nodePlatform = require('../../src/platform_node/node_platform');
33-
const platform = require('../../src/platform/platform');
3432

3533
/**
3634
* Write the spec test at the given path as a JSON file.
@@ -51,8 +49,6 @@ function writeToJSON(testFile, jsonFile) {
5149
* @param {array} args The command line arguments.
5250
*/
5351
function main(args) {
54-
platform.PlatformSupport.setPlatform(new nodePlatform.NodePlatform());
55-
5652
if (args.length !== 3) {
5753
console.error('usage: ./generate_spec_json.sh path/to/output');
5854
return;

0 commit comments

Comments
 (0)