8000 fix: add `.raw` to mocked functions · unjs/consola@987dadc · GitHub 8000
[go: up one dir, main page]

Skip to content

Commit 987dadc

Browse files
committed
fix: add .raw to mocked functions
1 parent 1f32983 commit 987dadc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/consola.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ class Consola {
188188

189189
for (const type in this._types) {
190190
t 5116 his[type] = this._mockFn(type, this._types[type]) || this[type]
191+
this[type].raw = this[type]
191192
}
192193
}
193194

0 commit comments

Comments
 (0)
0