Skip to content

window freezes when output large amount of data to Terminal #50011

@longsoft-dev

Description

@longsoft-dev

We have written the needed data into your clipTerminal using cmd, run:
npm test
The test successfully finishes, however terminal is no longer responsive, and so is the VS Code main.

a.test.js:
describe.only('some test', () => {
it(should return results , () => {
var r = []
for (i = 0; i < 1440 * 365; i++) {
r[i] = i
}
console.log(r.join())
})
})

package.json:
{
"name": "a",
"version": "1.0.0",
"description": "kk",
"main": "index.js",
"scripts": {
"test": "jest"
},
"author": "me",
"license": "ISC",
"devDependencies": {
"jest": "^22.4.3"
}
}

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)terminalGeneral terminal issues that don't fall under another label

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions