Skip to content

toBeValidDotAndMatchSnapshot test failed on Windows #249

@kamiazya

Description

@kamiazya

Describe the bug

Running a test using .toBeValidDotAndMatchSnapshot on Windows causes an error on Graphviz.

● function digraph › root create function › no parameters

    Format: "plain" not recognized. Use one of:

      94 |       expect(g.size).toBe(size);
      95 |       expect(g.strict).toBe(strict);
    > 96 |       expect(toDot(g)).toBeValidDotAndMatchSnapshot();
         |                        ^
      97 |     });
      98 |   });
      99 | 

Expected behavior

The test can be run successfully on Windows.

Additional context

Graphviz for Windows was updated on 21 Nov 2020.

Available at: https://chocolatey.org/packages/Graphviz

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions