webcontainer-core icon indicating copy to clipboard operation
webcontainer-core copied to clipboard

Number of elements in the array are not decreasing

Open AmineBenaddiGitHub opened this issue 10 months ago • 0 comments

Describe the bug

https://stackblitz.com/edit/vitejs-vite-rrdgmum1?file=src%2FApp.test.jsx When I run multiple times tests independently, the number of elements in the array: todosList keeps increasing.

Link to the blitz that caused the error

https://stackblitz.com/edit/vitejs-vite-rrdgmum1?file=README.md

Steps to reproduce

  1. Open a new terminal
  2. run npm tests: the first time it works, not the following ones (we should wait until all tests run and until the end)

Expected behavior

npm test works each time

Parity with Local

Screenshots

No response

Platform

Browser name  = Chrome
Full version  = 133.0.0.0
Major version = 133
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 139535715,
  "usedJSHeapSize": 123357471,
  "jsHeapSizeLimit": 4294705152
}
Hash = 7f809d15

Additional context

No response

AmineBenaddiGitHub avatar Feb 19 '25 20:02 AmineBenaddiGitHub