Skip to content

Commit d180941

Browse files
committed
fix(*): updated ts config to fix import error
1 parent b81dc12 commit d180941

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

spec/common/providers/https.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { expect } from "chai";
22
import { App, initializeApp } from "firebase-admin/app";
33
import * as appCheck from "firebase-admin/app-check";
4+
import nock from "nock";
45
import * as sinon from "sinon";
5-
import * as nock from "nock";
66

77
import { getApp, setApp } from "../../../src/common/app";
88
import * as debug from "../../../src/common/debug";

spec/fixtures/http.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121
// SOFTWARE.
2222

23-
import * as nock from 'nock';
23+
import nock from "nock";
2424

2525
interface AccessToken {
2626
access_token: string;

tsconfig.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
{
22
"compilerOptions": {
33
"resolveJsonModule": true,
4-
"sourceMap": true
4+
"sourceMap": true,
5+
"esModuleInterop": true
56
},
67
"extends": "./tsconfig.release.json",
7-
"include": [
8-
"**/*.ts",
9-
".eslintrc.js",
10-
"integration_test/**/*"
11-
]
8+
"include": ["**/*.ts", ".eslintrc.js", "integration_test/**/*"]
129
}

0 commit comments

Comments
 (0)