From fe2cc2f8954cd460ae6ac1ed4296384e80d7b873 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bajto=C5=A1?= Date: Thu, 23 Jan 2014 13:52:12 +0100 Subject: [PATCH] test: improved describe/it names Fix few test names to improve the output of `mocha -R spec`. --- test/DebuggerAgent.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/DebuggerAgent.js b/test/DebuggerAgent.js index 1ce7658..0cf681e 100644 --- a/test/DebuggerAgent.js +++ b/test/DebuggerAgent.js @@ -189,10 +189,10 @@ describe('DebuggerAgent', function() { }); }); - describe('canGetStringValuesLargerThan80Chars', function() { + describe('evaluateOnCallFrame', function() { before(setupDebugScenario); - it('returns large String values of 10000', function(done) { + it('truncates String values at 10,000 characters', function(done) { var testExpression = "Array(10000).join('a');"; var expectedValue = Array(10000).join('a'); @@ -223,10 +223,10 @@ describe('DebuggerAgent', function() { } }); - describe('canResumeScriptExecutionWithoutError', function() { + describe('resume()', function() { before(setupDebugScenario); - it('resumes without error', function(done) { + it('does not throw an error', function(done) { expect(function () { agent.resume(); }) .to.not.throw();