diff --git a/tests-execution-chart-commons/src/test/groovy/io/github/platan/tests_execution_chart/reporters/html/HtmlGanttDiagramReporterTest.groovy b/tests-execution-chart-commons/src/test/groovy/io/github/platan/tests_execution_chart/reporters/html/HtmlGanttDiagramReporterTest.groovy
index 6b56b5d..4b33514 100644
--- a/tests-execution-chart-commons/src/test/groovy/io/github/platan/tests_execution_chart/reporters/html/HtmlGanttDiagramReporterTest.groovy
+++ b/tests-execution-chart-commons/src/test/groovy/io/github/platan/tests_execution_chart/reporters/html/HtmlGanttDiagramReporterTest.groovy
@@ -30,6 +30,7 @@ class HtmlGanttDiagramReporterTest extends Specification {
then:
def reportContent = new File(baseDir, "$configOutputLocation/my-task.html").text
reportContent.contains ''
+ new File(baseDir, "$configOutputLocation/mermaid.min.js").exists()
}
def "should not embed script file"() {
@@ -45,5 +46,6 @@ class HtmlGanttDiagramReporterTest extends Specification {
then:
def reportContent = new File(baseDir, "$configOutputLocation/my-task.html").text
reportContent.contains """"""
+ !new File(baseDir, "$configOutputLocation/mermaid.min.js").exists()
}
}