Skip to content

Commit 83193bf

Browse files
Fixed TSLint errors
1 parent c429df4 commit 83193bf

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

test/simulation.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ import { FastTracker } from "../lib/fast-tracker";
1818
import { PeerContext } from "../lib/tracker";
1919
import { expect } from "chai";
2020

21+
// tslint:disable:no-unused-expression
22+
2123
describe("simulation", () => {
2224
it("should pass random simulations", () => {
2325
const simulationsCount = 1000;
@@ -98,7 +100,7 @@ describe("simulation", () => {
98100
for (const peer of swarm.peers.values()) {
99101
const peerData = peersData[peers.indexOf(peer)];
100102
expect(peerData).to.exist;
101-
expect(peerData!.infoHash).to.be.equal(swarmId);
103+
expect(peerData.infoHash).to.be.equal(swarmId);
102104
}
103105
}
104106
});

0 commit comments

Comments
 (0)