mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-23 01:09:42 +02:00
Added cypress e2e tests for suggested improvements
This commits adds e2e tests for the suggested improvements. I've went over the generated screenshots and they look good to me.
This commit is contained in:
@@ -17,7 +17,7 @@ export const addActor = function(id, name, description) {
|
||||
|
||||
actors[id] = { name: name, description: description, prevActor: prevActor };
|
||||
if (prevActor && actors[prevActor]) {
|
||||
actors[prevActor].nextActor = actors[id];
|
||||
actors[prevActor].nextActor = id;
|
||||
}
|
||||
|
||||
prevActor = id;
|
||||
|
Reference in New Issue
Block a user