Skip to content

Commit 6e32f06

Browse files
authored
Merge 03755c7 into d9b599f
2 parents d9b599f + 03755c7 commit 6e32f06

File tree

15 files changed

+33
-32
lines changed

15 files changed

+33
-32
lines changed

config/tsconfig.base.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
],
1919
"module": "ES2015",
2020
"moduleResolution": "node",
21+
"esModuleInterop": true,
2122
"resolveJsonModule": true,
2223
"sourceMap": true,
2324
"target": "es5",

packages-exp/app-exp/test/setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
import { use } from 'chai';
1919
import { restore } from 'sinon';
20-
import * as sinonChai from 'sinon-chai';
20+
import sinonChai from 'sinon-chai';
2121

2222
use(sinonChai);
2323

packages/analytics/testing/setup.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @license
3-
* Copyright 2019 Google Inc.
3+
* Copyright 2019 Google LLC
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -16,9 +16,9 @@
1616
*/
1717

1818
import { use } from 'chai';
19-
import * as chaiAsPromised from 'chai-as-promised';
19+
import chaiAsPromised from 'chai-as-promised';
2020
import { restore } from 'sinon';
21-
import * as sinonChai from 'sinon-chai';
21+
import sinonChai from 'sinon-chai';
2222

2323
use(chaiAsPromised);
2424
use(sinonChai);

packages/app/test/setup.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @license
3-
* Copyright 2019 Google Inc.
3+
* Copyright 2019 Google LLC
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -17,7 +17,7 @@
1717

1818
import { use } from 'chai';
1919
import { restore } from 'sinon';
20-
import * as sinonChai from 'sinon-chai';
20+
import sinonChai from 'sinon-chai';
2121

2222
use(sinonChai);
2323

packages/component/test/setup.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @license
3-
* Copyright 2019 Google Inc.
3+
* Copyright 2019 Google LLC
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -16,9 +16,9 @@
1616
*/
1717

1818
import { use } from 'chai';
19-
import * as chaiAsPromised from 'chai-as-promised';
19+
import chaiAsPromised from 'chai-as-promised';
2020
import { restore } from 'sinon';
21-
import * as sinonChai from 'sinon-chai';
21+
import sinonChai from 'sinon-chai';
2222

2323
use(chaiAsPromised);
2424
use(sinonChai);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
import * as chaiAsPromised from 'chai-as-promised';
18+
import chaiAsPromised from 'chai-as-promised';
1919

2020
import * as firestore from '@firebase/firestore-types';
2121
import { expect, use } from 'chai';

packages/firestore/test/integration/api_internal/database.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @license
3-
* Copyright 2019 Google Inc.
3+
* Copyright 2019 Google LLC
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
import * as chaiAsPromised from 'chai-as-promised';
18+
import chaiAsPromised from 'chai-as-promised';
1919

2020
import { expect, use } from 'chai';
2121

packages/firestore/test/unit/local/persistence_promise.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @license
3-
* Copyright 2017 Google Inc.
3+
* Copyright 2017 Google LLC
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -18,7 +18,7 @@
1818
import { expect, use } from 'chai';
1919
import { PersistencePromise } from '../../../src/local/persistence_promise';
2020

21-
import * as chaiAsPromised from 'chai-as-promised';
21+
import chaiAsPromised from 'chai-as-promised';
2222

2323
use(chaiAsPromised);
2424

packages/firestore/test/unit/local/simple_db.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @license
3-
* Copyright 2017 Google Inc.
3+
* Copyright 2017 Google LLC
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
import * as chaiAsPromised from 'chai-as-promised';
18+
import chaiAsPromised from 'chai-as-promised';
1919

2020
import { expect, use } from 'chai';
2121
import {

packages/installations/src/testing/setup.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @license
3-
* Copyright 2019 Google Inc.
3+
* Copyright 2019 Google LLC
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -16,9 +16,9 @@
1616
*/
1717

1818
import { use } from 'chai';
19-
import * as chaiAsPromised from 'chai-as-promised';
19+
import chaiAsPromised from 'chai-as-promised';
2020
import { restore } from 'sinon';
21-
import * as sinonChai from 'sinon-chai';
21+
import sinonChai from 'sinon-chai';
2222
import { clear } from '../helpers/idb-manager';
2323

2424
use(chaiAsPromised);

packages/messaging/src/testing/setup.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @license
3-
* Copyright 2019 Google Inc.
3+
* Copyright 2019 Google LLC
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -16,9 +16,9 @@
1616
*/
1717

1818
import { use } from 'chai';
19-
import * as chaiAsPromised from 'chai-as-promised';
19+
import chaiAsPromised from 'chai-as-promised';
2020
import { restore } from 'sinon';
21-
import * as sinonChai from 'sinon-chai';
21+
import sinonChai from 'sinon-chai';
2222
import { dbDelete } from '../helpers/idb-manager';
2323
import { deleteDb } from 'idb';
2424

packages/performance/src/services/transport_service.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @license
3-
* Copyright 2019 Google Inc.
3+
* Copyright 2019 Google LLC
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -17,7 +17,7 @@
1717

1818
import { stub, useFakeTimers, SinonStub, SinonFakeTimers } from 'sinon';
1919
import { use, expect } from 'chai';
20-
import * as sinonChai from 'sinon-chai';
20+
import sinonChai from 'sinon-chai';
2121
import { transportHandler, setupTransportService } from './transport_service';
2222

2323
use(sinonChai);

packages/performance/test/setup.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @license
3-
* Copyright 2019 Google Inc.
3+
* Copyright 2019 Google LLC
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -17,8 +17,8 @@
1717

1818
import { restore } from 'sinon';
1919
import { use } from 'chai';
20-
import * as chaiAsPromised from 'chai-as-promised';
21-
import * as sinonChai from 'sinon-chai';
20+
import chaiAsPromised from 'chai-as-promised';
21+
import sinonChai from 'sinon-chai';
2222

2323
use(chaiAsPromised);
2424
use(sinonChai);

packages/remote-config/test/setup.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @license
3-
* Copyright 2019 Google Inc.
3+
* Copyright 2019 Google LLC
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -16,8 +16,8 @@
1616
*/
1717

1818
import { use } from 'chai';
19-
import * as sinonChai from 'sinon-chai';
20-
import * as chaiAsPromised from 'chai-as-promised';
19+
import sinonChai from 'sinon-chai';
20+
import chaiAsPromised from 'chai-as-promised';
2121

2222
// Normalizes Sinon assertions to Chai syntax.
2323
use(sinonChai);

packages/testing/test/database.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @license
3-
* Copyright 2017 Google Inc.
3+
* Copyright 2017 Google LLC
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -16,7 +16,7 @@
1616
*/
1717

1818
import * as chai from 'chai';
19-
import * as chaiAsPromised from 'chai-as-promised';
19+
import chaiAsPromised from 'chai-as-promised';
2020
import * as firebase from '../src/api';
2121
import { base64 } from '@firebase/util';
2222
import { _FirebaseApp } from '@firebase/app-types/private';

0 commit comments

Comments
 (0)