console plugin fix (#832)

* fix: empty payload in console-plugin

* update unit test
This commit is contained in:
Yun Feng
2022-02-10 14:30:58 +11:00
committed by GitHub
parent 81454eaed1
commit 1935bf606f
3 changed files with 18 additions and 0 deletions

View File

@@ -7806,6 +7806,21 @@ exports[`record integration tests should record console messages 1`] = `
}
}
},
{
\\"type\\": 6,
\\"data\\": {
\\"plugin\\": \\"rrweb/console@1\\",
\\"payload\\": {
\\"level\\": \\"log\\",
\\"trace\\": [
\\"__puppeteer_evaluation_script__:19:37\\"
],
\\"payload\\": [
\\"\\\\\\"TypeError: a message\\\\\\"\\"
]
}
}
},
{
\\"type\\": 3,
\\"data\\": {