1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

Adding an output file to the test

This commit is contained in:
MohammadSu1 2024-11-10 08:54:51 +02:00
parent 53d98a358b
commit 8cca53b044
3 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ {
"args": "run --unstable --allow-read main.mts", "args": "run --unstable --allow-read main.mts",
"output": "3" "output": "main.out"
} }

View file

@ -1,3 +1,3 @@
import * as a from "./a.cts"; import * as a from "./a.cts";
await Deno.stdout.write(new TextEncoder().encode(a.add(1, 2))); console.log(a.add(1, 2));

View file

@ -0,0 +1 @@
3