aboutsummaryrefslogtreecommitdiff
path: root/tap-snapshots
diff options
context:
space:
mode:
authorRuben Beltran del Rio <ruben@unlimited.pizza>2020-09-20 16:55:36 +0200
committerRuben Beltran del Rio <ruben@unlimited.pizza>2020-09-20 16:55:36 +0200
commite4c7bafd276049c805039b240e0a83346c31f41b (patch)
tree4c8788909ed67710a1628b9e4ae51c1a45b3b3ce /tap-snapshots
Initial release
Diffstat (limited to 'tap-snapshots')
-rw-r--r--tap-snapshots/test-grafn.js-TAP.test.js32
1 files changed, 32 insertions, 0 deletions
diff --git a/tap-snapshots/test-grafn.js-TAP.test.js b/tap-snapshots/test-grafn.js-TAP.test.js
new file mode 100644
index 0000000..7a56937
--- /dev/null
+++ b/tap-snapshots/test-grafn.js-TAP.test.js
@@ -0,0 +1,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
+}
+`