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",
"output": "3"
"output": "main.out"
}

View File

@ -1,3 +1,3 @@
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