You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the Bug
When trying to get a coverage report on a Simnet session that was re-initialized using initEmptySession, the report returns an empty string. While Simnet sessions can be re-initialized, this issue occurs specifically when retrieving the coverage report after re-initialization.
To Reproduce
Steps to reproduce the issue:
Create a new Clarinet project:
clarinet new demo
Add a new contract:
clarinet contract new hi
Replace the content of contracts/hi.clar with:
(define-public (say-hi)
(oktrue)
)
Create a minimal index.js in the project with this code:
Describe the Bug
When trying to get a coverage report on a Simnet session that was re-initialized using
initEmptySession
, the report returns an empty string. While Simnet sessions can be re-initialized, this issue occurs specifically when retrieving the coverage report after re-initialization.To Reproduce
Steps to reproduce the issue:
Create a new Clarinet project:
Add a new contract:
Replace the content of
contracts/hi.clar
with:Create a minimal
index.js
in the project with this code:Run the code:
Check the output:
Expected Behavior
The coverage report should contain data for the updated contract source instead of being empty.
Environment
The text was updated successfully, but these errors were encountered: