From 1f984d9aff8ae3ec6a165be46d084b9ad45932a1 Mon Sep 17 00:00:00 2001 From: ntakashi Date: Sun, 4 Jun 2017 14:30:27 +0100 Subject: [PATCH] Corrected test that was breaking --- package.json | 10 +++++----- test/linq-to-type.spec.ts | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 97d4b6a..984f17c 100644 --- a/package.json +++ b/package.json @@ -24,14 +24,14 @@ "typescript": "^2.0.3" }, "devDependencies": { - "@types/chai": "^3.4.34", + "@types/chai": "^4.0.0", "@types/mocha": "^2.2.32", - "@types/node": "^6.0.46", - "chai": "^3.5.0", + "@types/node": "^7.0.27", + "chai": "^4.0.1", "coveralls": "^2.11.14", "mocha": "^3.1.2", - "nyc": "^8.3.1", + "nyc": "^11.0.2", "rimraf": "^2.5.4", - "tslint": "^3.15.1" + "tslint": "^5.4.2" } } diff --git a/test/linq-to-type.spec.ts b/test/linq-to-type.spec.ts index 2de9785..308b485 100644 --- a/test/linq-to-type.spec.ts +++ b/test/linq-to-type.spec.ts @@ -116,7 +116,7 @@ describe('Where test', () => { it('should return an empty collection when the expression is not met', () => { let result = items.where(x => x < 0) - expect(result.length).to.be.empty + expect(result).to.be.empty }) }) })