File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 "description" : " Converts json-graph definitions into graphlib graphs." ,
55 "main" : " index.js" ,
66 "scripts" : {
7- "test" : " echo \" Error: no test specified \" && exit 1 "
7+ "test" : " mocha "
88 },
99 "repository" : {
1010 "type" : " git" ,
2323 "homepage" : " https://github.com/jsongraph/graphlib-json-graph" ,
2424 "dependencies" : {
2525 "graphlib" : " ^1.0.4" ,
26+ "mocha" : " ^2.2.5" ,
2627 "par" : " ^0.3.0" ,
2728 "prop" : " ^0.1.1"
2829 }
Original file line number Diff line number Diff line change 1+ var toGraph = require ( "../" ) ;
2+
3+ describe ( "toGraph()" , function ( ) {
4+ it . skip ( "should be able to parse a single graph" , function ( ) { } ) ;
5+ it . skip ( "should be able to parse multiple graphs" , function ( ) { } ) ;
6+ it . skip ( "should throw an error if there are no graphs" , function ( ) { } ) ;
7+ it . skip ( "should support graphs without nodes" , function ( ) { } ) ;
8+ it . skip ( "should support graphs without edges" , function ( ) { } ) ;
9+ it . skip ( "should respect the directed property of a graph" , function ( ) { } ) ;
10+ it . skip ( "should make a graph directed if any of the edges are directed" , function ( ) { } ) ;
11+ it . skip ( "should be a multigraph" , function ( ) { } ) ;
12+ it . skip ( "should use the id for distinguishing edges between the same nodes" , function ( ) { } ) ;
13+ } ) ;
You can’t perform that action at this time.
0 commit comments