maty21 / mocha-sidebar

Mocha side bar viewer that allows you to run Mocha tests from side bar menu and view results can run each level hierarchy from all tests to a single test(and each describer of course)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extension issue

abdelrahmanabdelnabi opened this issue · comments

Mocha sidebar extension isn't running smoothly on my machine. It takes up a lot of cpu time at some times and runs my computer slow. Here is the bug report from the extension.

  • Issue Type: Bug
  • Extension Name: vscode-mocha-sidebar
  • Extension Version: 0.22.2
  • OS Version: Linux x64 4.15.0-43-generic
  • VSCode version: 1.35.1
{
	"messages": [
		{
			"type": 1,
			"message": "Command `mocha-maty.runAllTests` appears multiple times in the `commands` section.",
			"extensionId": {
				"value": "maty.vscode-mocha-sidebar",
				"_lower": "maty.vscode-mocha-sidebar"
			},
			"extensionPointId": "commands"
		}
	],
	"activationTimes": {
		"startup": true,
		"codeLoadingTime": 268,
		"activateCallTime": 3,
		"activateResolvedTime": 18,
		"activationEvent": "*"
	},
	"runtimeErrors": [
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		},
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		},
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		},
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		},
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		},
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		},
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		},
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		},
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		},
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		},
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		},
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		},
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		},
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		},
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		},
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		},
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		},
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		},
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		},
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		},
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		},
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		},
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		},
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		},
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		},
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		},
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		},
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		},
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		},
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		},
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		}
	]
}

Same here. I'm getting high CPU load, and it prevents auto-complete from opening quickly.

  • Issue Type: Bug
  • Extension Name: vscode-mocha-sidebar
  • Extension Version: 0.22.2
  • OS Version: Darwin x64 18.2.0
  • VSCode version: 1.39.0

⚠️ We have written the needed data into your clipboard. Please paste! ⚠️

{
	"messages": [
		{
			"type": 1,
			"message": "Command `mocha-maty.runAllTests` appears multiple times in the `commands` section.",
			"extensionId": {
				"value": "maty.vscode-mocha-sidebar",
				"_lower": "maty.vscode-mocha-sidebar"
			},
			"extensionPointId": "commands"
		}
	],
	"activationTimes": {
		"codeLoadingTime": 558,
		"activateCallTime": 2,
		"activateResolvedTime": 0,
		"activationReason": {
			"startup": true,
			"extensionId": {
				"value": "maty.vscode-mocha-sidebar",
				"_lower": "maty.vscode-mocha-sidebar"
			},
			"activationEvent": "*"
		}
	},
	"runtimeErrors": [
		{
			"name": "TypeError",
			"message": "Cannot read property 'document' of undefined"
		}
	]
}