Skip to content

Commit 0648f2d

Browse files
Seulgi Kimmergify[bot]
authored andcommitted
Upgrade packages in test
1 parent b2b2b03 commit 0648f2d

File tree

3 files changed

+1204
-104
lines changed

3 files changed

+1204
-104
lines changed

test/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,23 +28,23 @@
2828
"@types/elliptic": "^6.4.4",
2929
"@types/lodash": "^4.14.118",
3030
"@types/mkdirp": "^0.5.2",
31-
"@types/mocha": "^5.2.5",
31+
"@types/mocha": "^5.2.6",
3232
"@types/ncp": "^2.0.1",
33-
"@types/node": "^10.12.12",
33+
"@types/node": "^11.11.6",
3434
"@types/seedrandom": "^2.4.27",
35-
"mocha": "^5.2.0",
35+
"mocha": "^6.0.2",
3636
"prettier": "^1.15.3",
37-
"tslint": "^5.11.0",
38-
"tslint-config-prettier": "^1.17.0",
37+
"tslint": "^5.14.0",
38+
"tslint-config-prettier": "^1.18.0",
3939
"tslint-no-unused-expression-chai": "^0.1.4"
4040
},
4141
"dependencies": {
4242
"@types/snappy": "^6.0.0",
4343
"blakejs": "^1.1.0",
4444
"chai": "^4.2.0",
4545
"chai-as-promised": "^7.1.1",
46-
"codechain-primitives": "^0.4.6",
47-
"codechain-sdk": "https://github.com/HoOngEe/codechain-sdk-js.git#range-pendingTx-lib",
46+
"codechain-primitives": "^0.4.8",
47+
"codechain-sdk": "^0.6.0",
4848
"crypto": "^1.0.1",
4949
"dgram": "^1.0.1",
5050
"elliptic": "^6.4.1",
@@ -56,7 +56,7 @@
5656
"rlp": "^2.1.0",
5757
"seedrandom": "^2.4.4",
5858
"snappy": "^6.1.2",
59-
"ts-node": "^7.0.1",
60-
"typescript": "^3.2.2"
59+
"ts-node": "^8.0.3",
60+
"typescript": "^3.3.4000"
6161
}
6262
}

test/src/helper/spawn.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ export default class CodeChain {
192192
this.isTestFailed = true;
193193
if (!disableLog) {
194194
const logStream = createWriteStream(this.logPath);
195-
this.process!.stdout.pipe(logStream);
196-
this.process!.stderr.pipe(logStream);
195+
this.process!.stdout!.pipe(logStream);
196+
this.process!.stderr!.pipe(logStream);
197197
}
198198

199199
this.process
@@ -204,7 +204,7 @@ export default class CodeChain {
204204
reject(Error(`CodeChain exited with code ${code}`));
205205
});
206206

207-
const readline = createReadline({ input: this.process!.stderr });
207+
const readline = createReadline({ input: this.process!.stderr! });
208208
readline.on("line", (line: string) => {
209209
if (line.includes("Initialization complete")) {
210210
this.isTestFailed = false;

0 commit comments

Comments
 (0)