Skip to content
This repository has been archived by the owner on Jan 13, 2018. It is now read-only.

Commit

Permalink
fix jshint tests
Browse files Browse the repository at this point in the history
  • Loading branch information
veged committed Sep 18, 2013
1 parent 028778c commit 67461b2
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions test/v2-deps.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ var assert = require('chai').assert,
*
* @name describe @function
* @name it @function
* @name xit @function
* @name before @function
* @name after @function
* @name beforeEach @function
Expand Down Expand Up @@ -110,13 +111,13 @@ describe('Deps', function() {
));

// TODO: https://github.com/bem/bem-tools/issues/401
xit('block with elem array', assertDepsParse(
[ { block: 'b1', elem: ['e1', 'e2'] } ],
{ '': {'': [
{block: 'b1', elem: 'e1'},
{block: 'b1', elem: 'e2'}
] } }
));
//xit('block with elem array', assertDepsParse(
//[ { block: 'b1', elem: ['e1', 'e2'] } ],
//{ '': {'': [
//{block: 'b1', elem: 'e1'},
//{block: 'b1', elem: 'e2'}
//] } }
//));

});

Expand Down Expand Up @@ -152,14 +153,14 @@ describe('Deps', function() {
));

// TODO: https://github.com/bem/bem-tools/issues/413
xit('block with tech shortcut', assertDepsParse(
{block: 'b1', tech: 't1', shouldDeps: {tech: 't2'}},
{ 't1': {
't1': [ { block: 'b1', tech: 't1'} ],
't2': [ { block: 'b1', tech: 't2'} ]
}
}
));
//xit('block with tech shortcut', assertDepsParse(
//{block: 'b1', tech: 't1', shouldDeps: {tech: 't2'}},
//{ 't1': {
//'t1': [ { block: 'b1', tech: 't1'} ],
//'t2': [ { block: 'b1', tech: 't2'} ]
//}
//}
//));

it('block with and without tech', assertDepsParse(
{ block: 'b1', shouldDeps: { block: 'b2', tech: 't2', shouldDeps: { block: 'b3' } } },
Expand Down

0 comments on commit 67461b2

Please sign in to comment.