Skip to content

Commit 987dadc

Browse files
committedFeb 7, 2021
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
 

Diff for: ‎src/consola.js

+1
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ class Consola {
188188

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

0 commit comments

Comments
 (0)
Please sign in to comment.