DEV: removes jquery usage from highlight-syntax (#10564)

This commit is contained in:
Joffrey JAFFEUX
2020-09-01 09:50:49 +02:00
committed by GitHub
parent bb2e830010
commit f8062300da
4 changed files with 36 additions and 18 deletions
@@ -13,7 +13,7 @@ componentTest("highlighting code", {
this.set("code", "def test; end");
},
async test(assert) {
test(assert) {
assert.equal(
find("code.ruby.hljs .hljs-function .hljs-keyword")
.text()
@@ -32,7 +32,7 @@ componentTest("large code blocks are not highlighted", {
this.set("code", LONG_CODE_BLOCK);
},
async test(assert) {
test(assert) {
assert.equal(
find("code")
.text()