fix: #542 wrong results of splitting log stacks (#547)

fix bug of stack parcer and increase compatibility for different browser vendors
This commit is contained in:
Lucky Feng
2021-05-04 13:11:20 +08:00
committed by GitHub
parent 7e46341c18
commit e9b9d42e6e
5 changed files with 328 additions and 67 deletions

View File

@@ -379,7 +379,7 @@ describe('record integration tests', function (this: ISuite) {
expect(text).to.equal('4\n3\n2\n1\n5');
});
it('can record log mutation', async () => {
it('should record console messages', async () => {
const page: puppeteer.Page = await this.browser.newPage();
await page.goto('about:blank');
await page.setContent(