]> git.r.bdr.sh - rbdr/grafn/blob - tap-snapshots/test-grafn.js-TAP.test.js
Add Gitlab CI config
[rbdr/grafn] / tap-snapshots / test-grafn.js-TAP.test.js
1 /* IMPORTANT
2 * This snapshot file is auto-generated, but designed for humans.
3 * It should be checked into source control and tracked carefully.
4 * Re-generate by setting TAP_SNAPSHOT=1 and running tests.
5 * Make sure to inspect the output below. Do not ignore changes!
6 */
7 'use strict'
8 exports[`test/grafn.js TAP > It can convert to a string representing the graph in graphviz format 1`] = `
9 digraph {
10 root
11 firstDependent
12 root -> firstDependent
13 secondDependent
14 root -> secondDependent
15 final
16 firstDependent -> final
17 secondDependent -> final
18 }
19 `
20
21 exports[`test/grafn.js TAP It colorizes the graph based on execution results > It adds the right colors according to execution 1`] = `
22 digraph {
23 root[color=green]
24 firstDependent[color=green]
25 root -> firstDependent
26 secondDependent[color=red]
27 root -> secondDependent
28 final
29 firstDependent -> final
30 secondDependent -> final
31 }
32 `