Skip to content

Commit 1f43c67

Browse files
🚨 Update mock
1 parent 24538f5 commit 1f43c67

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/HTMLCodeBlockElement.test.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import HTMLCodeBlockElement from '../src/class/HTMLCodeBlockElement';
22

3-
HTMLCodeBlockElement.highlight = function hoge() {
3+
// Mock
4+
HTMLCodeBlockElement.highlight = function hoge(src) {
45
return {
5-
markup: 'Debug Text',
6-
}
6+
markup: src,
7+
};
78
};
89

910
customElements.define('code-block', HTMLCodeBlockElement);

0 commit comments

Comments
 (0)