Skip to content

Commit

Permalink
feat: vscode script for html [IDE-375] [IDE-367] (#531)
Browse files Browse the repository at this point in the history
  • Loading branch information
teodora-sandu authored Jun 5, 2024
1 parent 41a4bb4 commit 4832292
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions infrastructure/code/code_html_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
1 change: 1 addition & 0 deletions infrastructure/code/template/details.html
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,7 @@ <h2 class="example-fixes-header">Fixed Code Examples</h2>
});
</script>

${ideScript}
</body>

</html>

0 comments on commit 4832292

Please sign in to comment.