Skip to content

Commit a638cff

Browse files
Update describe_spec.ts
1 parent c7c4eb7 commit a638cff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/firestore/test/unit/specs/describe_spec.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
import * as stringify from 'json-stable-stringify';
18+
import stringify from 'json-stable-stringify';
1919
import { ExclusiveTestFunction, PendingTestFunction } from 'mocha';
2020

2121
import { queryEquals, QueryImpl } from '../../../src/core/query';
@@ -252,7 +252,7 @@ export function describeSpec(
252252
// Note: We use json-stable-stringify instead of JSON.stringify() to ensure
253253
// that the generated JSON does not produce diffs merely due to the order
254254
// of the keys in an object changing.
255-
const output = stringify.default(specsInThisTest, {
255+
const output = stringify(specsInThisTest, {
256256
space: 2,
257257
cmp: stringifyComparator
258258
});

0 commit comments

Comments
 (0)