summaryrefslogtreecommitdiff
path: root/tests/specs/install/future_install_global/assert.js
blob: c7a6a06807e5d63e355763a421c1d09d255dd806 (plain)
1
2
3
4
5
6
7
8
9
10
11
const dirs = Deno.readDir("./bins/bin");

let found = false;
for await (const entry of dirs) {
  if (entry.name.includes("deno-test-bin")) {
    found = true;
  }
}
if (!found) {
  throw new Error("Failed to find test bin");
}