Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Iterative tests break when run directly from plugin #130

Closed
roydukkey opened this issue Feb 2, 2023 · 1 comment
Closed

Iterative tests break when run directly from plugin #130

roydukkey opened this issue Feb 2, 2023 · 1 comment
Labels
duplicate This issue or pull request already exists p3-minor-bug An edge case that only affects very specific usage (priority)

Comments

@roydukkey
Copy link

Describe the bug
Tests as describe on this issue vitest-dev/vitest#794 fail with:

TypeError: Cannot read properties of undefined (reading 'children')

To Reproduce

[1, 2, 0].forEach((num) => {
	it(`${num} is a number (foreach)`, () => {
		expect(typeof num).toEqual('number');
	});
});

Screenshots
Screenshot 2023-02-02 at 15 54 08

Environment

  • OS: macOS
  • VSCode version: 1.74.3 (Universal)
    • Commit: 97dec172d3256f8ca4bfb2143f3f76b503ca0534
    • Date: 2023-01-09T17:07:18.579Z (3 wks ago)
    • Electron: 19.1.8
    • Chromium: 102.0.5005.167
    • Node.js: 16.14.2
    • V8: 10.2.154.15-electron.0
    • OS: Darwin arm64 22.2.0
    • Sandboxed: No
  • Vitest version: 0.28.3
  • Vitest plugin version: 0.2.37
@roydukkey roydukkey added the p3-minor-bug An edge case that only affects very specific usage (priority) label Feb 2, 2023
@zxch3n zxch3n added feat: workspace duplicate This issue or pull request already exists and removed feat: workspace labels Feb 9, 2023
@zxch3n
Copy link
Member

zxch3n commented Feb 9, 2023

Duplicate of #7

@zxch3n zxch3n marked this as a duplicate of #7 Feb 9, 2023
@zxch3n zxch3n closed this as completed Feb 9, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Feb 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists p3-minor-bug An edge case that only affects very specific usage (priority)
Projects
None yet
Development

No branches or pull requests

2 participants