Comments (3)
but I dislike the idea of having tests working differently under Deno just because I use node:test instead of Deno.test()
I think a bigger problem is having node:test
work differently under Deno than Node unfortunately. The node:test
API doesn't have sanitizers.
I'm writing code on Deno that can work also with Node
You may wish to create your own test function that internally calls Deno.test
in Deno and then node:test
in Node.
from deno.
I think this makes sense.
from deno.
I'm writing code on Deno that can work also with Node, but I dislike the idea of having tests working differently under Deno just because I use node:test
instead of Deno.test()
. I could understand a switch/option or whatever makes explicit the difference and leave me choice. I like the strictness of Deno, when is needed/useful to produce better code.
from deno.
Related Issues (20)
- LSP cannot get completion info when file has `using` or `await using` declaration HOT 1
- upgrade_prompt is flaky
- Crash in deno_io due to dependency issue
- npm:web-push not working
- ReferenceError: EISDIR is not defined | node pollyfill is missing a constant HOT 1
- Deno panic when running modules from jsr.io via https specifiers HOT 1
- Fatal process out of memory: Oilpan: CagedHeap reservation. HOT 1
- undefined symbol: node_module_register HOT 1
- Loading React types cripples LSP performance HOT 1
- Cannot read files from `/proc/self/fd` since Deno 1.43 HOT 8
- `node:fs/promises`: Neither `fd.read` nor `fd.write` honor the `position` argument
- std/node/_events.mjs assumes existence of process, crashes on calling process.emitWarning
- Improved types for `Deno.serve` in 2.0
- `deno doc` stack overflows on namespace exporting itself
- rejection_handled_web_process is flaky
- `npm:@grpc/grpc-js` support HOT 2
- Permission regression with `deno compile` HOT 1
- windows fs node compat regression: await open(os.devNull) fails on 1.43
- npx fails to resolve 'esbuild' after updating to Deno 1.43.0 HOT 1
- Interface definition for `deno serve` default export
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deno.