benderjs-jasmine
Advanced tools
Comparing version 0.2.4 to 0.2.5
/** | ||
* Copyright (c) 2014, CKSource - Frederico Knabben. All rights reserved. | ||
* Copyright (c) 2014-2015, CKSource - Frederico Knabben. All rights reserved. | ||
* Licensed under the terms of the MIT License (see LICENSE.md). | ||
@@ -120,3 +120,3 @@ */ | ||
this.suiteStarted = function( suite ) { | ||
current = new Suite( suite.fullName, current ); | ||
current = new Suite( suite.description, current ); | ||
}; | ||
@@ -134,3 +134,15 @@ | ||
this.specDone = function( result ) { | ||
result.module = current.name || ''; | ||
var modules = [], p = current; | ||
while ( p ) { | ||
if ( p.name ) { | ||
modules.push( p.name ); | ||
} | ||
p = p.parent; | ||
} | ||
modules.reverse(); | ||
result.module = modules.length ? modules.join( ' / ' ) : ''; | ||
result.name = result.description; | ||
@@ -137,0 +149,0 @@ result.fullName = result.fullName; |
/** | ||
* Copyright (c) 2014, CKSource - Frederico Knabben. All rights reserved. | ||
* Copyright (c) 2014-2015, CKSource - Frederico Knabben. All rights reserved. | ||
* Licensed under the terms of the MIT License (see LICENSE.md). | ||
@@ -4,0 +4,0 @@ */ |
The MIT License (MIT) | ||
Copyright (c) 2014, CKSource - Frederico Knabben | ||
Copyright (c) 2014-2015, CKSource - Frederico Knabben | ||
@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
{ | ||
"name": "benderjs-jasmine", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"description": "Adapter for Jasmine testing framework for Bender.js", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
86274
17
2123