Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Arnold committed Oct 12, 2023
1 parent fd0f2be commit 07da593
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions test/integration/shiki.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ shiki
langs: ['javascript']
})
.then((highlighter) => {
const html = highlighter.codeToThemedTokens(
highlighter.codeToThemedTokens(
'const sayHello = (name) => console.log("Hello, " + name)',
'javascript'
)
console.log(html)
})
3 changes: 1 addition & 2 deletions test/unit/shiki/input.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ shiki
langs: ['javascript']
})
.then((highlighter) => {
const html = highlighter.codeToThemedTokens(
highlighter.codeToThemedTokens(
'const sayHello = (name) => console.log("Hello, " + name)',
'javascript'
)
console.log(html)
})

0 comments on commit 07da593

Please sign in to comment.