Bhaumin
why deno vs code extension not supporting deno test describe and coverage?
While developing with vs code in vs code native test explorer it shows tests while we run deno test but it's not showing test written with describe, why?
and also it's not shoing coverage of files in native vs code test explorer, how to solve this?
6 replies
Understanding deno test Behavior with Interdependent Modules
I'm seeking clarification on how Deno's test runner (deno test) manages interdependent modules. Consider the following module dependencies:
Module A depends on Module B
Module B depends on Module C
If I execute deno test for Module A, will the test runner automatically execute the test cases for Modules B and C, given their dependency chain?
If this automatic execution isn't currently supported, are there any plans to implement such a feature in future releases?
If this functionality is not available and there are no existing plans to include it, would it be appropriate for me to submit a feature request or open an issue to discuss its potential implementation?
Thank you for your insights.
25 replies
Can anyone help to get native vs code test working with deno?
Here is an issue also https://github.com/denoland/vscode_deno/issues/1138
We want to use test cases the same as shown in this video https://www.youtube.com/watch?v=pXuFniI0XUY or in this docs https://code.visualstudio.com/docs/editor/testing in VS code with deno.
Thanks
1 replies
`Deno run` command with permission flags not working inside container
I'm encountering an issue with running a Deno script inside a container (deno and chromium installed). When I execute the following command with specific permission flags:
deno run --allow-read--allow-env --allow-write --allow-run="/usr/bin/chromium" --allow-net /test/index.ts
it results in a timeout error. I've tried using -A (which grants all permissions) but it leads to the same error.
However, when I run the command without any flags:
deno run /test/index.ts
Deno prompts me for permissions, and after granting them (by typing A), the script executes successfully.
Why does the script work when granting permissions manually but fail when using the corresponding flags? What could be causing this discrepancy?20 replies
Any docs for profiling deno in vs code?
We need to check the performance of our code written in deno so for that we need to have support for profiling in vs code?
any solution? here is one ref https://code.visualstudio.com/docs/nodejs/profiling
1 replies
Getting bare specifier error | fresh and Deno workspace
When we use island of fresh with deno workspace we are getting bare specifier issue
https://github.com/denoland/fresh/issues/2615
1 replies
How to run mocha with deno
How can we run mocha test cases in deno? I have one project created with node and making it compatible with deno. all my test cases has been written in node mocha. so similar way if i try to run deno run test:mocha with the tasks inside deno.json
Getting below error
4 replies
Handle routes for multiple domains using Fresh and Deno
How should we maintain multiple routes of multiple sub domains using fresh and deno? As per documentation we need to add all our routes inside routes folder. but what if we want to maintain routes per domain per feature? Is it possible?
9 replies
Help to get test coverage as shown in this vs code guideline?
Hey anyone can please help to get test coverage visualization as shown in this guide?
https://code.visualstudio.com/docs/editor/testing
2 replies
Please help to run puppeteer with deno?
Here is code https://github.com/Beingminimal-gh/deno-puppeteer
23 replies