Skip to content

Commit a49f91c

Browse files
committed
fix(*): updated testing framwork config types
1 parent 97bc24f commit a49f91c

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

scripts/bin-test/mocha-setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import * as chai from "chai";
2-
import * as chaiAsPromised from "chai-as-promised";
2+
import chaiAsPromised from "chai-as-promised";
33

44
chai.use(chaiAsPromised);

src/bin/firebase-functions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2323
// SOFTWARE.
2424

25-
import * as http from "http";
26-
import * as express from "express";
25+
import express from "express";
2726
import * as fs from "fs/promises";
27+
import * as http from "http";
2828
import * as path from "path";
2929
import { loadStack } from "../runtime/loader";
3030
import { stackToWire } from "../runtime/manifest";

tsconfig.release.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"outDir": "lib",
99
"stripInternal": true,
1010
"target": "es2019",
11-
"typeRoots": ["./node_modules/@types"]
11+
"typeRoots": ["./node_modules/@types"],
12+
"esModuleInterop": true
1213
},
1314
"files": [
1415
"./src/types/global.d.ts",

0 commit comments

Comments
 (0)