How to test browser code under Deno #11473
Replies: 5 comments
-
That's a runtime error, which is why it's happening even with |
Beta Was this translation helpful? Give feedback.
-
@nayeemrmn It happens without
|
Beta Was this translation helpful? Give feedback.
-
Yes, because it's a runtime error. There is no |
Beta Was this translation helpful? Give feedback.
-
Sorry, I am struggling a bit. I would like to test my browser code using Deno, is there any information available on how this is done? I have found |
Beta Was this translation helpful? Give feedback.
-
Tangental, but I'm releasing a complementary toolchain soon which shims the Deno test harness and runs the tests in browsers. |
Beta Was this translation helpful? Give feedback.
-
deno test --config ./tsconfig.json --watch --allow-all --no-check test/
(or without--no-check
) returns:tsconfig.json
main.ts
The LSP picks up my
tsconfig.json
fine and acceptsdocument
when useconfig = "./tsconfig.json"
, andtest
is reading the file as it says:I have a test repo here to show the problem: https://github.com/David-Else/dependency-heaven-typescript
Beta Was this translation helpful? Give feedback.
All reactions