[Pkg-javascript-commits] [sockjs-client] 204/350: Fix test to use message

tonnerre at ancient-solutions.com tonnerre at ancient-solutions.com
Fri Aug 5 01:04:21 UTC 2016


This is an automated email from the git hooks/post-receive script.

tonnerre-guest pushed a commit to branch upstream
in repository sockjs-client.

commit 6085f80b26ac1618ef8bd5dccf1631f4bb3d3c2e
Author: Bryce Kahle <bkahle at gmail.com>
Date:   Mon Oct 20 17:29:26 2014 -0400

    Fix test to use message
---
 tests/lib/main-node.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/lib/main-node.js b/tests/lib/main-node.js
index bbad4a6..bd08272 100644
--- a/tests/lib/main-node.js
+++ b/tests/lib/main-node.js
@@ -17,7 +17,7 @@ describe('SockJS', function() {
           sjs('http://localhost');
         }).to.throwException(function (e) {
           expect(e).to.be.a(Error);
-          expect(e).to.contain('SecurityError');
+          expect(e.message).to.contain('SecurityError');
         });
       });
     });

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/sockjs-client.git



More information about the Pkg-javascript-commits mailing list