aboutsummaryrefslogtreecommitdiff
path: root/tap-snapshots/test-grafn.js-TAP.test.js
blob: 7a56937ea94c0cc71dbd31d4fe6e5cb20a5fe2ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* IMPORTANT
 * This snapshot file is auto-generated, but designed for humans.
 * It should be checked into source control and tracked carefully.
 * Re-generate by setting TAP_SNAPSHOT=1 and running tests.
 * Make sure to inspect the output below.  Do not ignore changes!
 */
'use strict'
exports[`test/grafn.js TAP  > It can convert to a string representing the graph in graphviz format 1`] = `
digraph {
    root
    firstDependent
    root -> firstDependent
    secondDependent
    root -> secondDependent
    final
    firstDependent -> final
    secondDependent -> final
}
`

exports[`test/grafn.js TAP It colorizes the graph based on execution results > It adds the right colors according to execution 1`] = `
digraph {
    root[color=green]
    firstDependent[color=green]
    root -> firstDependent
    secondDependent[color=red]
    root -> secondDependent
    final
    firstDependent -> final
    secondDependent -> final
}
`