deno.land / x / esm@v135_2 / test / issue-596 / issue-596.test.ts

issue-596.test.ts
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
import { assert } from "https://deno.land/std@0.180.0/testing/asserts.ts";
Deno.test("issue #596", async () => { const { version } = await fetch("http://localhost:8080/status.json").then(( res, ) => res.json()); const code = await fetch( `http://localhost:8080/v${version}/reejs@0.9.0/deno/src/cli/index.js`, ).then((res) => res.text()); assert(!code.includes("#!/usr/bin/env node"));});
esm

Version Info

Tagged at
a year ago