From 4832292ad9ea353574df4698582633b691516f88 Mon Sep 17 00:00:00 2001 From: Teodora Sandu <81559517+teodora-sandu@users.noreply.github.com> Date: Wed, 5 Jun 2024 07:57:54 +0100 Subject: [PATCH] feat: vscode script for html [IDE-375] [IDE-367] (#531) --- infrastructure/code/code_html_test.go | 2 ++ infrastructure/code/template/details.html | 1 + 2 files changed, 3 insertions(+) diff --git a/infrastructure/code/code_html_test.go b/infrastructure/code/code_html_test.go index 3261dec0a..d6db1cffd 100644 --- a/infrastructure/code/code_html_test.go +++ b/infrastructure/code/code_html_test.go @@ -56,6 +56,8 @@ func Test_Code_Html_getCodeDetailsHtml(t *testing.T) { // assert injectable style assert.Contains(t, codePanelHtml, "${ideStyle}") + // assert injectable script + assert.Contains(t, codePanelHtml, "${ideScript}") // assert Header section assert.Contains(t, codePanelHtml, "Priority score: 890") diff --git a/infrastructure/code/template/details.html b/infrastructure/code/template/details.html index 8d706dfb8..60944f88e 100644 --- a/infrastructure/code/template/details.html +++ b/infrastructure/code/template/details.html @@ -605,6 +605,7 @@

Fixed Code Examples

}); + ${ideScript}